1c561c96ed
* Handle up to 1 GB of Mac memory * Handle MacOS idle wait (idlewait prefs item) * Fix a crash with the AppleShare extension * Improve SLiRP network emulation performance * Portability fixes to IRIX/mips, Solaris/SPARC Mac OS X: * Port to Mac OS X for Intel, including the JIT * Add a primitive graphical preferences editor * Fix clipboard (copy/paste of text from/to the host OS) * Fix external filesystem * Fix SLiRP network emulation (workaround MacOS X bugs) Windows: * Add SLiRP network emulation (ether slirp) * Add TAP-Win32 network emulation (ether tap) * Fix CD-ROM auto-detection (pollmedia now works) * Improve GUI for network configuration
13 lines
553 B
Text
13 lines
553 B
Text
$NetBSD: patch-ab,v 1.5 2006/05/13 20:52:35 adam Exp $
|
|
|
|
--- src/Unix/video_x.cpp.orig 2006-01-03 23:03:27.000000000 +0100
|
|
+++ src/Unix/video_x.cpp
|
|
@@ -2326,7 +2326,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;
|