56 |
|
#endif |
57 |
|
|
58 |
|
// From newcpu.cpp |
59 |
< |
extern int quit_program; |
59 |
> |
extern bool quit_program; |
60 |
|
|
61 |
|
|
62 |
|
/* |
198 |
|
// Execute trap |
199 |
|
m68k_setpc(m68k_areg(regs, 7)); |
200 |
|
fill_prefetch_0(); |
201 |
< |
quit_program = 0; |
201 |
> |
quit_program = false; |
202 |
|
m68k_execute(); |
203 |
|
|
204 |
|
// Clean up stack |
213 |
|
r->d[i] = m68k_dreg(regs, i); |
214 |
|
for (i=0; i<7; i++) |
215 |
|
r->a[i] = m68k_areg(regs, i); |
216 |
< |
quit_program = 0; |
216 |
> |
quit_program = false; |
217 |
|
} |
218 |
|
|
219 |
|
|
245 |
|
// Execute routine |
246 |
|
m68k_setpc(addr); |
247 |
|
fill_prefetch_0(); |
248 |
< |
quit_program = 0; |
248 |
> |
quit_program = false; |
249 |
|
m68k_execute(); |
250 |
|
|
251 |
|
// Clean up stack |
260 |
|
r->d[i] = m68k_dreg(regs, i); |
261 |
|
for (i=0; i<7; i++) |
262 |
|
r->a[i] = m68k_areg(regs, i); |
263 |
< |
quit_program = 0; |
263 |
> |
quit_program = false; |
264 |
|
} |