diff options
Diffstat (limited to 'testing/mednafen/02-sdl_by_default.patch')
-rw-r--r-- | testing/mednafen/02-sdl_by_default.patch | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/testing/mednafen/02-sdl_by_default.patch b/testing/mednafen/02-sdl_by_default.patch index e5c10e5d51..b912af108d 100644 --- a/testing/mednafen/02-sdl_by_default.patch +++ b/testing/mednafen/02-sdl_by_default.patch @@ -1,11 +1,12 @@ ---- origin/include/mednafen/drivers/main.cpp -+++ mednafen/include/mednafen/drivers/main.cpp -@@ -183,7 +183,7 @@ - { "netplay.smallfont", MDFNSF_NOFLAGS, gettext_noop("Use small(tiny!) font for netplay chat console."), NULL, MDFNST_BOOL, "0" }, +diff -ru mednafen.orig/src/drivers/video.cpp mednafen/src/drivers/video.cpp +--- mednafen.orig/src/drivers/video.cpp 2015-02-23 21:06:16.000000000 +0000 ++++ mednafen/src/drivers/video.cpp 2015-04-10 05:38:20.784481562 +0000 +@@ -147,7 +147,7 @@ - { "video.fs", MDFNSF_NOFLAGS, gettext_noop("Enable fullscreen mode."), NULL, MDFNST_BOOL, "0", }, -- { "video.driver", MDFNSF_NOFLAGS, gettext_noop("Video output method/driver."), NULL, MDFNST_ENUM, "opengl", NULL, NULL, NULL,NULL, VDriver_List }, -+ { "video.driver", MDFNSF_NOFLAGS, gettext_noop("Video output method/driver."), NULL, MDFNST_ENUM, "sdl", NULL, NULL, NULL,NULL, VDriver_List }, - { "video.glvsync", MDFNSF_NOFLAGS, gettext_noop("Attempt to synchronize OpenGL page flips to vertical retrace period."), - gettext_noop("Note: Additionally, if the environment variable \"__GL_SYNC_TO_VBLANK\" does not exist, then it will be created and set to the value specified for this setting. This has the effect of forcibly enabling or disabling vblank synchronization when running under Linux with NVidia's drivers."), - MDFNST_BOOL, "1" }, + static MDFNSetting GlobalVideoSettings[] = + { +- { "video.driver", MDFNSF_NOFLAGS, gettext_noop("Video output method/driver."), NULL, MDFNST_ENUM, "opengl", NULL, NULL, NULL, NULL, VDriver_List }, ++ { "video.driver", MDFNSF_NOFLAGS, gettext_noop("Video output method/driver."), NULL, MDFNST_ENUM, "sdl", NULL, NULL, NULL, NULL, VDriver_List }, + + { "video.fs", MDFNSF_NOFLAGS, gettext_noop("Enable fullscreen mode."), NULL, MDFNST_BOOL, "0", }, + { "video.glvsync", MDFNSF_NOFLAGS, gettext_noop("Attempt to synchronize OpenGL page flips to vertical retrace period."), |