aboutsummaryrefslogtreecommitdiff
path: root/emulators/fuse/files/patch-svgadisplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fuse/files/patch-svgadisplay.c')
-rw-r--r--emulators/fuse/files/patch-svgadisplay.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/fuse/files/patch-svgadisplay.c b/emulators/fuse/files/patch-svgadisplay.c
new file mode 100644
index 000000000000..17a15d4cb76f
--- /dev/null
+++ b/emulators/fuse/files/patch-svgadisplay.c
@@ -0,0 +1,11 @@
+--- ui/svga/svgadisplay.c.orig 2007-07-29 14:53:05.000000000 +0200
++++ ui/svga/svgadisplay.c 2007-07-29 14:53:45.000000000 +0200
+@@ -258,7 +258,7 @@
+ scaled_x = scale * x; scaled_y = scale * y;
+
+ /* Create scaled image */
+- scaler_proc16( (libspectrum_byte*)&svgadisplay_image[y][x], display_pitch,
++ scaler_proc16( (libspectrum_byte*)&svgadisplay_image[y][x], svgadisplay_pitch,
+ (libspectrum_byte*)&scaled_image[scaled_y][scaled_x],
+ scaled_pitch, w, h );
+