diff options
Diffstat (limited to 'emulators/dosbox/patches/patch-ad')
-rw-r--r-- | emulators/dosbox/patches/patch-ad | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/dosbox/patches/patch-ad b/emulators/dosbox/patches/patch-ad new file mode 100644 index 00000000000..92d676e4fd8 --- /dev/null +++ b/emulators/dosbox/patches/patch-ad @@ -0,0 +1,19 @@ +$NetBSD: patch-ad,v 1.1 2007/01/20 02:25:31 rillig Exp $ + +Scancodes do not work on SunOS-2.10-sparc. + +--- src/gui/sdlmain.cpp.orig 2006-03-29 14:54:42.000000000 +0200 ++++ src/gui/sdlmain.cpp 2007-01-16 14:15:35.312830340 +0100 +@@ -1291,7 +1291,12 @@ int main(int argc, char* argv[]) { + sdl_sec->Add_bool("waitonerror",true); + sdl_sec->Add_string("priority","higher,normal"); + sdl_sec->Add_string("mapperfile","mapper.txt"); ++#if defined(__sun) ++ sdl_sec->Add_bool("usescancodes", false); ++#else + sdl_sec->Add_bool("usescancodes",true); ++#endif ++ + + MSG_Add("SDL_CONFIGFILE_HELP", + "fullscreen -- Start dosbox directly in fullscreen.\n" |