diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-07-26 13:25:31 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-07-26 13:25:31 -0700 |
commit | 3372e57c62e3ff5f93c5541ef5b969229d132463 (patch) | |
tree | df1a91e13ebef01d2ad636bd940c7e514a6919ff /vgmplay.c | |
parent | 4755aa94deb0a8fb90bf74033d370e9370d69ca2 (diff) | |
parent | bee8b42029900ca034675c54d98813a61ca4407a (diff) |
Merge
Diffstat (limited to 'vgmplay.c')
-rw-r--r-- | vgmplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,6 +7,7 @@ #include "ym2612.h" #include "psg.h" #include "config.h" +#include "util.h" #include <stdint.h> #include <stdio.h> @@ -282,8 +283,7 @@ int main(int argc, char ** argv) wait(&y_context, &p_context, ¤t_cycle, wait_time); } } else { - printf("unimplemented command: %X at offset %X\n", cmd, (unsigned int)(cur - data - 1)); - exit(1); + fatal_error("unimplemented command: %X at offset %X\n", cmd, (unsigned int)(cur - data - 1)); } } } |