Update of /cvsroot/vba/VisualBoyAdvance/src/gb
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29806/src/gb
Modified Files:
GB.cpp
Log Message:
make compilable for Windows x64
Index: GB.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/gb/GB.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** GB.cpp 6 Jun 2006 14:25:43 -0000 1.27
--- GB.cpp 6 Jun 2006 21:04:20 -0000 1.28
***************
*** 2912,2916 ****
}
! int read = fread(&gbMemory[0xa000],
1,
256,
--- 2912,2916 ----
}
! size_t read = fread(&gbMemory[0xa000],
1,
256,
***************
*** 2933,2937 ****
1,
file);
! if(read >0) {
systemMessage(MSG_FAILED_TO_READ_SGM,
N_("Battery file's size incompatible with the rom settings %s (%d).\nWarning : save of the battery file is now disabled !"), name, read);
--- 2933,2937 ----
1,
file);
! if(read > 0) {
systemMessage(MSG_FAILED_TO_READ_SGM,
N_("Battery file's size incompatible with the rom settings %s (%d).\nWarning : save of the battery file is now disabled !"), name, read);
***************
*** 3066,3070 ****
}
! int read = fread(&gbMemory[0xa000],
1,
256,
--- 3066,3070 ----
}
! size_t read = fread(&gbMemory[0xa000],
1,
256,
***************
*** 3087,3091 ****
1,
file);
! if(read >0) {
systemMessage(MSG_FAILED_TO_READ_SGM,
N_("Battery file's size incompatible with the rom settings %s (%d).\nWarning : save of the battery file is now disabled !"), name, read);
--- 3087,3091 ----
1,
file);
! if(read > 0) {
systemMessage(MSG_FAILED_TO_READ_SGM,
N_("Battery file's size incompatible with the rom settings %s (%d).\nWarning : save of the battery file is now disabled !"), name, read);
***************
*** 3386,3390 ****
}
fseek(file, 0x13, SEEK_SET);
! int read = 0;
int toRead = 0;
switch(gbRomType) {
--- 3386,3390 ----
}
fseek(file, 0x13, SEEK_SET);
! size_t read = 0;
int toRead = 0;
switch(gbRomType) {
|