Ah,

Thats my bad I never tried to use the (old) debugger with the new videocode, and the new one is not implemented on unix (yet?)

Try the attached diff (patch -p0 < diff) from the toplevel dir of your xmame src's.

Regards,

Hans


Robert Alan Byer wrote:
I compiled XMAME 0.89 on my Solaris box with debugging (not the new debugger :)) and when I run any game with the debugger activated I get
the following message...



Error: requested size (640x480) bigger than max size (0x0) Fatal error in sysdep_display_chage_params

I'm using the following command line.

./work/xmame-0.89/xmamed.x11 -rp ./.xmame/roms -debug -debug-size 640x480 bzone2

No matter what I enter for -debug-size I get the same error.

Am I doing something wrong here?


+------------------+--------------------------+---------------+ | Robert Alan Byer | [EMAIL PROTECTED] | ICQ #65926579 | +------------------+--------------------------+---------------+ | Send an E-mail request to obtain a copy of my PGP key. | +-------------------------------------------------------------+ | "It is by caffeine alone I set my mind in motion. It is by | | cans of cola the thoughts aquire speed, the hands acquire | | shakes, the shakes become a warning. It is by caffeine | | alone I set my mind in motion." | +-------------------------------------------------------------+


_______________________________________________ Xmame mailing list [email protected] http://toybox.twisted.org.uk/mailman/listinfo/xmame

diff -ur src/unix.orig/video.c src/unix/video.c
--- src/unix.orig/video.c       2005-01-02 08:10:11.000000000 +0100
+++ src/unix/video.c    2005-01-03 08:47:41.779040688 +0100
@@ -528,12 +528,14 @@
        }
 
        /* setup debugger related stuff */
-       debug_params.width   = options.debug_width;
-       debug_params.height  = options.debug_height;
-       debug_bounds.min_x    = 0;
-       debug_bounds.max_x    = options.debug_width - 1;
-       debug_bounds.min_y    = 0;
-       debug_bounds.max_y    = options.debug_height - 1;
+       debug_params.width      = options.debug_width;
+       debug_params.height     = options.debug_height;
+       debug_params.max_width  = options.debug_width;
+       debug_params.max_height = options.debug_height;
+       debug_bounds.min_x      = 0;
+       debug_bounds.max_x      = options.debug_width - 1;
+       debug_bounds.min_y      = 0;
+       debug_bounds.max_y      = options.debug_height - 1;
 
        return 0;
 }

Reply via email to