summaryrefslogtreecommitdiff
path: root/vgmplay.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-07-26 13:25:31 -0700
committerMichael Pavone <pavone@retrodev.com>2015-07-26 13:25:31 -0700
commit3372e57c62e3ff5f93c5541ef5b969229d132463 (patch)
treedf1a91e13ebef01d2ad636bd940c7e514a6919ff /vgmplay.c
parent4755aa94deb0a8fb90bf74033d370e9370d69ca2 (diff)
parentbee8b42029900ca034675c54d98813a61ca4407a (diff)
Merge
Diffstat (limited to 'vgmplay.c')
-rw-r--r--vgmplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vgmplay.c b/vgmplay.c
index 879a399..f87c570 100644
--- a/vgmplay.c
+++ b/vgmplay.c
@@ -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, &current_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));
}
}
}