mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
diff -Naur VisualBoyAdvance-1.7.2-old/src/sdl/debugger.cpp VisualBoyAdvance-1.7.2-new/src/sdl/debugger.cpp
|
||
|
--- VisualBoyAdvance-1.7.2-old/src/sdl/debugger.cpp 2004-05-13 07:13:14.000000000 -0700
|
||
|
+++ VisualBoyAdvance-1.7.2-new/src/sdl/debugger.cpp 2012-03-22 22:45:31.000000000 -0700
|
||
|
@@ -1280,7 +1280,7 @@
|
||
|
if(n == 2) {
|
||
|
u32 addr = 0;
|
||
|
sscanf(args[1], "%x", &addr);
|
||
|
- for(int i = 0; i < 16; i++) {
|
||
|
+ for(int loop_i = 0; loop_i < 16; loop_i++) {
|
||
|
int a = debuggerReadByte(addr);
|
||
|
int b = debuggerReadByte(addr+1);
|
||
|
int c = debuggerReadByte(addr+2);
|
||
|
@@ -1316,7 +1316,7 @@
|
||
|
u32 addr = 0;
|
||
|
sscanf(args[1], "%x", &addr);
|
||
|
addr = addr & 0xfffffffe;
|
||
|
- for(int i = 0; i < 16; i++) {
|
||
|
+ for(int loop_i = 0; loop_i < 16; loop_i++) {
|
||
|
int a = debuggerReadByte(addr);
|
||
|
int b = debuggerReadByte(addr+1);
|
||
|
int c = debuggerReadByte(addr+2);
|
||
|
@@ -1352,7 +1352,7 @@
|
||
|
u32 addr = 0;
|
||
|
sscanf(args[1], "%x", &addr);
|
||
|
addr = addr & 0xfffffffc;
|
||
|
- for(int i = 0; i < 16; i++) {
|
||
|
+ for(int loop_i = 0; loop_i < 16; loop_i++) {
|
||
|
int a = debuggerReadByte(addr);
|
||
|
int b = debuggerReadByte(addr+1);
|
||
|
int c = debuggerReadByte(addr+2);
|