slackbuilds_ponce/games/vbam/vbam-r856-debugger.cpp.diff
Robby Workman 0f781813c2 games/vbam: Patched to build on 13.1
The patch is mine, so if it's wrong, blame me.  :-)
2010-05-24 16:10:22 -05:00

16 lines
536 B
Diff

diff -Nur vbam-r856.orig//src/sdl/debugger.cpp vbam-r856/src/sdl/debugger.cpp
--- vbam-r856.orig//src/sdl/debugger.cpp 2009-01-01 10:11:02.000000000 -0600
+++ vbam-r856/src/sdl/debugger.cpp 2010-05-24 00:45:28.625665663 -0500
@@ -941,10 +941,10 @@
u32 address = 0;
u32 value = 0;
int type = 0;
- const char *s = args[1];
+ char *s = args[1];
char c = *s;
if(strchr(s, ':')) {
- const char *name = s;
+ char *name = s;
char *l = strchr(s, ':');
*l++ = 0;
int line = atoi(l);