Update of /cvsroot/vba/VisualBoyAdvance/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4797
Modified Files:
GBA.cpp
Log Message:
Added BIOS call to exit the emulator in SDL version (SWI #0xf9 in thumb mode)
Tracker #880413
Index: GBA.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/GBA.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** GBA.cpp 5 Feb 2004 11:38:30 -0000 1.51
--- GBA.cpp 6 Feb 2004 11:26:58 -0000 1.52
***************
*** 1675,1678 ****
--- 1675,1685 ----
return;
}
+ #ifdef SDL
+ if(comment == 0xf9) {
+ emulating = 0;
+ CPU_BREAK_LOOP_2;
+ return;
+ }
+ #endif
if(useBios) {
#ifdef DEV_VERSION
|