aboutsummaryrefslogtreecommitdiff
path: root/emulators/lisaem/files/patch-generator__reg68k.c
blob: 99f84b4a8deb7ea1c20e50a9d1a482c2590df15b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- generator/reg68k.c.orig
+++ generator/reg68k.c
@@ -1308,7 +1308,7 @@
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
-                if (abort_opcode==1) {EXIT(476,0,"MMU/BUS/Address exception occured on opcode fetch!\n");}
+                if (abort_opcode==1) {EXITR(476,0,"MMU/BUS/Address exception occured on opcode fetch!\n");}
                 abort_opcode=0;          // clear any addr/bus errors/traps/etc that may have occured.
 
                 InstructionRegister=ipc->opcode;
@@ -1397,7 +1397,7 @@
                                 InstructionRegister=ipc->opcode;
                                 abort_opcode=0;
                                 if (ipc->function) ipc->function(ipc);
-                                else {   EXIT(277,0,"No ipc function at %d/%08x, even after attempting to get one!\n",context,pc24);}
+                                else {   EXITR(277,0,"No ipc function at %d/%08x, even after attempting to get one!\n",context,pc24);}
                              }
                     }  // if we have it, execute, else loop is done. :)