wok-6.x view mupen64plus/stuff/const.patch @ rev 11799
ppp: build rp-pppoe.so (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 25 11:15:26 2012 +0100 (2012-02-25) |
parents | |
children |
line source
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)
19 {
20 - if (char * extstr = strstr(extensions, "TEXTUREBUFFER"))
21 + if (const char * extstr = strstr(extensions, "TEXTUREBUFFER"))
22 {
23 if (!strncmp(extstr, "TEXTUREBUFFER", 13))
24 {