#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
+#include "../libsdl/print.h"
#include "../libcpu/m68k.h"
#include "../libcpu/execute.h"
#include "mercenary.h"
/* reduce loop that waits for disk stepper to move */
if (m68k_read_memory_32(0x562f8) != 0x000091b0) {
- fprintf(stderr, "expecting loop counter of 0x000091b0 here, please fix!\n");
+ print_error("expecting loop counter of 0x000091b0 here, please fix!\n");
exit(0);
}
m68k_write_memory_32(0x562f8, 1);
/* reduce loop that waits for disk side change */
if (m68k_read_memory_32(0x55f5c) != 0x0000d020) {
- fprintf(stderr, "expecting loop counter of 0x0000d020 here, please fix!\n");
+ print_error("expecting loop counter of 0x0000d020 here, please fix!\n");
exit(0);
}
m68k_write_memory_32(0x55f5c, 1);