diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-05-01 21:36:04 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-05-08 12:16:21 +0200 |
commit | 42953944da1261584d56405128c6eb3c0e9e7da0 (patch) | |
tree | 1f150ce606457a0bea5647374e0719ecd9646f01 /drumgizmo | |
parent | f8feb953c6d86bee12747679e5e4dac7795a65d0 (diff) |
The last loader thread stuff.
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/drumgizmoc.cc | 8 |
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; } |