updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mupen64plus15 / const.patch
blob8091355bee41e7784011bddf48a8f791164efb1d
1 diff -aur Mupen64Plus-1-5-src/glide64/Combine.cpp Mupen64Plus-1-5-src_patched/glide64/Combine.cpp
2 --- Mupen64Plus-1-5-src/glide64/Combine.cpp 2009-01-04 19:47:08.000000000 +0100
3 +++ Mupen64Plus-1-5-src_patched/glide64/Combine.cpp 2010-02-09 13:18:34.000000000 +0100
4 @@ -11873,7 +11873,7 @@
5 LOG ("InitCombine() ");
6 memset(&cmb, 0, sizeof(cmb));
7 const char *extensions = grGetString (GR_EXTENSION);
8 - if (char * extstr = strstr(extensions, "COMBINE")) {
9 + if (const char * extstr = strstr(extensions, "COMBINE")) {
10 if (!strncmp(extstr, "COMBINE", 7)) {
11 LOG ("extensions ");
12 cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt");
13 diff -aur Mupen64Plus-1-5-src/glide64/Main.cpp Mupen64Plus-1-5-src_patched/glide64/Main.cpp
14 --- Mupen64Plus-1-5-src/glide64/Main.cpp 2009-01-04 19:47:08.000000000 +0100
15 +++ Mupen64Plus-1-5-src_patched/glide64/Main.cpp 2010-02-09 13:17:39.000000000 +0100
16 @@ -784,7 +784,7 @@
17 printf("bebefore2\n");
18 if (settings.fb_hires)
20 - if (char * extstr = strstr(extensions, "TEXTUREBUFFER"))
21 + if (const char * extstr = strstr(extensions, "TEXTUREBUFFER"))
23 if (!strncmp(extstr, "TEXTUREBUFFER", 13))