diff options
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)); } } } |