summaryrefslogtreecommitdiff
path: root/emulators/BasiliskII/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/BasiliskII/patches/patch-ab')
-rw-r--r--emulators/BasiliskII/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/BasiliskII/patches/patch-ab b/emulators/BasiliskII/patches/patch-ab
new file mode 100644
index 00000000000..6ef710154d3
--- /dev/null
+++ b/emulators/BasiliskII/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2003/06/14 06:49:05 tron Exp $
+
+--- video_x.cpp.orig Thu Jun 12 23:38:31 2003
++++ video_x.cpp
+@@ -2226,7 +2226,7 @@ static void update_display_dynamic(int t
+ static void update_display_static(driver_window *drv)
+ {
+ // Incremental update code
+- unsigned wide = 0, high = 0, x1, x2, y1, y2, i, j;
++ int wide = 0, high = 0, x1, x2, y1, y2, i, j;
+ const video_mode &mode = drv->monitor.get_current_mode();
+ int bytes_per_row = mode.bytes_per_row;
+ int bytes_per_pixel = mode.bytes_per_row / mode.x;