aboutsummaryrefslogtreecommitdiff
path: root/emulators/fuse/files/patch-svgadisplay.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-29 16:34:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-29 16:34:42 +0000
commit7b8e17ec959a51a14361cb58789267a3882564e7 (patch)
tree1ca610662a63c862d8c4e4602628ce7c393a718a /emulators/fuse/files/patch-svgadisplay.c
parent7d30acf3df55cb1f2b8b55a2572cd23d79336539 (diff)
downloadports-7b8e17ec959a51a14361cb58789267a3882564e7.tar.gz
ports-7b8e17ec959a51a14361cb58789267a3882564e7.zip
Notes
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 );
+