]> git.sesse.net Git - pistorm/blobdiff - emulator.c
introducing CPU state parameter 5 - now switched most register state over
[pistorm] / emulator.c
index 8ecc8f8c777bc313dd5e917db8371e7e8d836fff..4d2fc8a37c8036c5044da7bfa66ce8d520dfecc7 100644 (file)
@@ -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;