On Mon, 28 Mar 2005 00:50:26 -0800, Christopher Stone
<[EMAIL PROTECTED]> wrote:
> On Mon, 28 Mar 2005 09:48:05 +0200, Peter Trauner
> <[EMAIL PROTECTED]> wrote:
> > Hello,
> > MESS consoles:
> > special keys like (left alt+page down) are not working in arcadia,
> > supervision (but work in vic20/computer if in ui-mode).
> 
> For some reason, MESS consoles are always in ui_active mode, however,
> the ui_active static variable in mess/mesintrf.c is not being set for
> consoles (atleast I'm guess that is what is happening).
> 
> Due to a recent patch which I asked Lawrence to fix, special keys like
> alt-pgdn will only work when ui_active is true.
> 

I fixed this with the following patch:

--- src/unix/video.c    23 Mar 2005 06:16:59 -0000      1.119
+++ src/unix/video.c    28 Mar 2005 09:15:08 -0000
@@ -925,7 +925,7 @@
        else
        {
 #ifdef MESS
-               if (mess_ui_active())
+               if (((Machine->gamedrv->flags & GAME_COMPUTER) == 0)
|| mess_ui_active())
 #endif
                {
                        if (code_pressed(KEYCODE_LALT) &&


However, I wonder what the behavior is when a MESS driver uses
GAME_COMPUTER_MODIFIED?

_______________________________________________
Xmame mailing list
Xmame@toybox.twisted.org.uk
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to