summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index e993dc3..a774705 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -348,11 +348,7 @@ int main(int argc, char* argv[])
gizmo.setFrameSize(oe->getBufferSize());
- if(kitfile == "" || !gizmo.loadkit(kitfile))
- {
- printf("Failed to load \"%s\".\n", kitfile.c_str());
- return 1;
- }
+ settings.drumkit_file.store(kitfile);
printf("Loading drumkit, this may take a while:\n");
@@ -374,7 +370,7 @@ int main(int argc, char* argv[])
if(settings.drumkit_load_status.load() == LoadStatus::Error)
{
- printf("\nLoad error\n");
+ printf("\nFailed to load \"%s\".\n", kitfile.c_str());
return 1;
}