mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
0f781813c2
The patch is mine, so if it's wrong, blame me. :-)
16 lines
536 B
Diff
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);
|