ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/basilisk_glue.cpp
(Generate patch)

Comparing BasiliskII/src/uae_cpu/basilisk_glue.cpp (file contents):
Revision 1.14 by gbeauche, 2002-09-17T16:05:39Z vs.
Revision 1.16 by cebix, 2004-01-12T15:29:29Z

# Line 1 | Line 1
1   /*
2   *  basilisk_glue.cpp - Glue UAE CPU to Basilisk II CPU engine interface
3   *
4 < *  Basilisk II (C) 1997-2002 Christian Bauer
4 > *  Basilisk II (C) 1997-2004 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 56 | Line 56 | bool UseJIT = false;
56   #endif
57  
58   // From newcpu.cpp
59 < extern int quit_program;
59 > extern bool quit_program;
60  
61  
62   /*
# Line 198 | Line 198 | void Execute68kTrap(uint16 trap, struct
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
# Line 213 | Line 213 | void Execute68kTrap(uint16 trap, struct
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  
# Line 245 | Line 245 | void Execute68k(uint32 addr, struct M68k
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
# Line 260 | Line 260 | void Execute68k(uint32 addr, struct M68k
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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines