X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=emulator.c;h=4d2fc8a37c8036c5044da7bfa66ce8d520dfecc7;hb=b550b0d6325d5d863d75b25f6b6e09251806606a;hp=8ecc8f8c777bc313dd5e917db8371e7e8d836fff;hpb=14636790c638a4c24fd31054b35228a9138e98a9;p=pistorm diff --git a/emulator.c b/emulator.c index 8ecc8f8..4d2fc8a 100644 --- a/emulator.c +++ b/emulator.c @@ -567,7 +567,7 @@ switch_config: m68k_init(); printf("Setting CPU type to %d.\n", cpu_type); - m68k_set_cpu_type(cpu_type); + m68k_set_cpu_type(&m68ki_cpu, cpu_type); cpu_pulse_reset(); pthread_t ipl_tid = 0, cpu_tid, kbd_tid;