Update of /cvsroot/vba/VisualBoyAdvance/src/sdl
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20255/src/sdl
Modified Files:
SDL.cpp debugger.cpp
Log Message:
applied patch [ 1471725 ] Silence some compilation warning (and fix some real bugs)
Index: SDL.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/sdl/SDL.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SDL.cpp 31 Jul 2006 15:51:01 -0000 1.15
--- SDL.cpp 25 Aug 2006 13:30:14 -0000 1.16
***************
*** 1731,1735 ****
if(emulating && emulator.emuReadMemState && rewindMemory
&& rewindCount) {
! rewindPos = --rewindPos & 7;
emulator.emuReadMemState(&rewindMemory[REWIND_SIZE*rewindPos],
REWIND_SIZE);
--- 1731,1735 ----
if(emulating && emulator.emuReadMemState && rewindMemory
&& rewindCount) {
! rewindPos = (rewindPos - 1) & 7;
emulator.emuReadMemState(&rewindMemory[REWIND_SIZE*rewindPos],
REWIND_SIZE);
***************
*** 2572,2578 ****
emulator.emuWriteMemState(&rewindMemory[rewindPos*REWIND_SIZE],
REWIND_SIZE)) {
! rewindPos = ++rewindPos & 7;
if(rewindCount == 8)
! rewindTopPos = ++rewindTopPos & 7;
}
}
--- 2572,2578 ----
emulator.emuWriteMemState(&rewindMemory[rewindPos*REWIND_SIZE],
REWIND_SIZE)) {
! rewindPos = (rewindPos + 1) & 7;
if(rewindCount == 8)
! rewindTopPos = (rewindTopPos + 1) & 7;
}
}
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/sdl/debugger.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** debugger.cpp 24 Jun 2006 20:21:47 -0000 1.10
--- debugger.cpp 25 Aug 2006 13:30:15 -0000 1.11
***************
*** 2026,2030 ****
char *op=args[start+1];
char *value=args[start+2];
- char *returnmsg="";
char *tsize,*taddress,*tvalue;
--- 2026,2029 ----
|