Update of /cvsroot/vba/VisualBoyAdvance/src/win32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30443
Modified Files:
MainWndFile.cpp
Log Message:
- fixed battery saving bug when save type equals Flash or Sram
- initialize sram and flash memory to 0xff instead of 0x00
- clean flash/sram on load/reload
- fixed a compilation warning
Index: MainWndFile.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/win32/MainWndFile.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** MainWndFile.cpp 15 Sep 2004 22:11:20 -0000 1.8
--- MainWndFile.cpp 14 Nov 2004 18:54:40 -0000 1.9
***************
*** 729,733 ****
CFileStatus status;
CString str;
! unsigned long time = -1;
int found = 0;
--- 729,733 ----
CFileStatus status;
CString str;
! unsigned long time = (unsigned long)-1;
int found = 0;
|