]> git.sesse.net Git - pistorm/blobdiff - m68kmake.c
step 1: add a state parameter to all opcode functions
[pistorm] / m68kmake.c
index adadc36952bd6a2e9414adf21187620abf828c0f..3e5a5c142c3efbdd8f08ab4252da2b5c5bfef731 100644 (file)
@@ -785,7 +785,7 @@ void get_base_name(char* base_name, opcode_struct* op)
 /* Write the name of an opcode handler function */
 void write_function_name(FILE* filep, char* base_name)
 {
-       fprintf(filep, "static void %s(void)\n", base_name);
+       fprintf(filep, "static void %s(m68ki_cpu_core *state)\n", base_name);
 }
 
 void add_opcode_output_table_entry(opcode_struct* op, char* name)