]> git.sesse.net Git - pistorm/blobdiff - m68kcpu.h
introducing CPU state parameter
[pistorm] / m68kcpu.h
index b5b919745217c2837c88a73d6cd9421f4de5c1fa..cd4d07e251eca18f79a1d946313bdc0d4e8bfa3c 100644 (file)
--- a/m68kcpu.h
+++ b/m68kcpu.h
@@ -946,7 +946,7 @@ typedef struct
 
 
 
-typedef struct
+typedef struct m68ki_cpu_core
 {
        uint cpu_type;     /* CPU Type: 68000, 68008, 68010, 68EC020, 68020, 68EC030, 68030, 68EC040, or 68040 */
        uint dar[16];      /* Data and Address Registers */
@@ -1099,7 +1099,7 @@ char* m68ki_disassemble_quick(unsigned int pc, unsigned int cpu_type);
 /* ---------------------------- Read Immediate ---------------------------- */
 
 // clear the instruction cache
-inline void m68ki_ic_clear()
+inline void m68ki_ic_clear(m68ki_cpu_core *state)
 {
        int i;
        for (i=0; i< M68K_IC_SIZE; i++) {