[uae] Re: Found THE bug in building on Mac OS X Intel

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 5 May 2006 02:49:02 -0400

Hi Jens

On Friday 05 May 2006 02:37, Richard Drummond wrote:
> This is simple to fix (assuming the OS X/Intel uses the same raw key
> codes). I shall provide a patch anon.

SF.net magically came back again sooner than I expected, so here's that patch.

Cheers,
Rich
Index: src/gfx-sdl/rawkeys.c
===================================================================
RCS file: /cvsroot/uaedev/uae/src/gfx-sdl/rawkeys.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- src/gfx-sdl/rawkeys.c       19 Jun 2005 21:56:20 -0000      1.6
+++ src/gfx-sdl/rawkeys.c       5 May 2006 05:38:51 -0000       1.7
@@ -46,7 +46,7 @@
     { SDLGFX_DRIVER_X11,     "x11pc",  x11pc_keymap,  x11pc_hotkeys,  0},
     { SDLGFX_DRIVER_DGA,     "x11pc",  x11pc_keymap,  x11pc_hotkeys,  0},
 #endif
-#if (defined __powerpc__ || defined __ppc__) && defined __APPLE__
+#if defined __APPLE__
     { SDLGFX_DRIVER_QUARTZ,  "quartz", quartz_keymap, quartz_hotkeys, 
quartz_modkeytable},
 #endif
 #ifdef __BEOS__

Other related posts: