On Tue, 14 Sep 2004, Dave Ahlswede wrote:

> This is most peculiar. It's apparently requesting 320,200, and getting a
> 320x232 window. (I happen to have a number of other exotic modelines,
> primarily for XMame, and 320x232 is among them).
>
> quoth the logfile:
> X: vidmode asking for (320,200); setting (320,232)

ok. I can see where it goes wrong now. Can you try the patch below?

Bart

--- src/env/video/X.c.~1.43.~   2004-08-15 00:41:39.000000000 +1200
+++ src/env/video/X.c   2004-09-15 20:00:23.000000000 +1200
@@ -2534,8 +2534,8 @@
     for (i=0; i<modecount; i++) {
       if ((vidmode_modes[i]->hdisplay >= w) &&
           (vidmode_modes[i]->vdisplay >= h) &&
-          (vidmode_modes[i]->hdisplay < nw) &&
-          (vidmode_modes[i]->vdisplay < nh)) {
+          (vidmode_modes[i]->hdisplay <= nw) &&
+          (vidmode_modes[i]->vdisplay <= nh)) {
         nw = vidmode_modes[i]->hdisplay;
         nh = vidmode_modes[i]->vdisplay;
         j = i;


-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to