Update of /cvsroot/vba/VisualBoyAdvance/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13810
Modified Files:
Cheats.cpp
Log Message:
- Corrected a bug in CBA Type 5 code.
Index: Cheats.cpp
===================================================================
RCS file: /cvsroot/vba/VisualBoyAdvance/src/Cheats.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Cheats.cpp 9 Nov 2004 16:11:37 -0000 1.23
--- Cheats.cpp 10 Nov 2004 22:14:56 -0000 1.24
***************
*** 760,764 ****
case CBA_SUPER:
{
! int count = 2*((cheatsList[i].value -1) & 0xFFFF);
u32 address = cheatsList[i].address;
for(int x = 0; x <= count; x++) {
--- 760,764 ----
case CBA_SUPER:
{
! int count = 2*((cheatsList[i].value -1) & 0xFFFF)+1;
u32 address = cheatsList[i].address;
for(int x = 0; x <= count; x++) {
|