summaryrefslogtreecommitdiffstats
path: root/abs/extra/snes9x/snes9x-fixes2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/snes9x/snes9x-fixes2.patch')
-rw-r--r--abs/extra/snes9x/snes9x-fixes2.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/abs/extra/snes9x/snes9x-fixes2.patch b/abs/extra/snes9x/snes9x-fixes2.patch
deleted file mode 100644
index 6007bb6..0000000
--- a/abs/extra/snes9x/snes9x-fixes2.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- snes9x-1.5-src.orig/unix/opengl.cpp 2006-06-30 13:34:57.000000000 +0000
-+++ snes9x-1.5-src/unix/opengl.cpp 2006-09-01 08:48:39.000000000 +0000
-@@ -214,7 +214,7 @@
-
- // Strip dots from the version string
- char *ptr;
-- while (ptr = strchr (ver, '.'))
-+ while ((ptr = strchr (ver, '.')))
- memmove (ptr, ptr + 1, strlen (ptr + 1) + 1);
-
- // Pad the string with zeros to 4 digits
-@@ -381,7 +381,7 @@
- int i = 0;
- for (uint32 y = 0; y < pheight; y++)
- {
-- uint16 *ptr = (uint16 *) (GFX.Screen + (y + startl) * GFX.Pitch2) + startx;
-+ uint16 *ptr = (uint16 *) (GFX.Screen + (y + startl) * GFX.Pitch) + startx;
- for (uint32 x = 0; x < pwidth; x++)
- {
- int color = *ptr++;
-@@ -399,7 +399,7 @@
- for (uint32 y = 0; y < pheight; y++)
- {
- memmove (basetexbuffer + sizeof (uint16) * texture_size * y,
-- (GFX.Screen + (y + startl) * GFX.Pitch2) + startx,
-+ (GFX.Screen + (y + startl) * GFX.Pitch) + startx,
- sizeof (uint16) * texture_size);
- }
- data = basetexbuffer;