wok diff mupen64plus/stuff/const.patch @ rev 9852
Add mozplugger. A Mozilla & Firefox multimedia plugin.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 16 01:12:39 2011 +0000 (2011-05-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mupen64plus/stuff/const.patch Mon May 16 01:12:39 2011 +0000 1.3 @@ -0,0 +1,24 @@ 1.4 +diff -aur Mupen64Plus-1-5-src/glide64/Combine.cpp Mupen64Plus-1-5-src_patched/glide64/Combine.cpp 1.5 +--- Mupen64Plus-1-5-src/glide64/Combine.cpp 2009-01-04 19:47:08.000000000 +0100 1.6 ++++ Mupen64Plus-1-5-src_patched/glide64/Combine.cpp 2010-02-09 13:18:34.000000000 +0100 1.7 +@@ -11873,7 +11873,7 @@ 1.8 + LOG ("InitCombine() "); 1.9 + memset(&cmb, 0, sizeof(cmb)); 1.10 + const char *extensions = grGetString (GR_EXTENSION); 1.11 +- if (char * extstr = strstr(extensions, "COMBINE")) { 1.12 ++ if (const char * extstr = strstr(extensions, "COMBINE")) { 1.13 + if (!strncmp(extstr, "COMBINE", 7)) { 1.14 + LOG ("extensions "); 1.15 + cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt"); 1.16 +diff -aur Mupen64Plus-1-5-src/glide64/Main.cpp Mupen64Plus-1-5-src_patched/glide64/Main.cpp 1.17 +--- Mupen64Plus-1-5-src/glide64/Main.cpp 2009-01-04 19:47:08.000000000 +0100 1.18 ++++ Mupen64Plus-1-5-src_patched/glide64/Main.cpp 2010-02-09 13:17:39.000000000 +0100 1.19 +@@ -784,7 +784,7 @@ 1.20 + printf("bebefore2\n"); 1.21 + if (settings.fb_hires) 1.22 + { 1.23 +- if (char * extstr = strstr(extensions, "TEXTUREBUFFER")) 1.24 ++ if (const char * extstr = strstr(extensions, "TEXTUREBUFFER")) 1.25 + { 1.26 + if (!strncmp(extstr, "TEXTUREBUFFER", 13)) 1.27 + {