summaryrefslogtreecommitdiffstats
path: root/testing/mednafen/02-sdl_by_default.patch
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2014-11-06 09:31:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-13 07:25:58 +0000
commit34ee36a1db91390886e2cd27d991f6770dbd6cfc (patch)
tree41fb78eb6ab00e1c2bfce106dd85b2430da70e8e /testing/mednafen/02-sdl_by_default.patch
parenta772d63f7a1623a9c093ec0d41d56b63744ab7e2 (diff)
downloadaports-34ee36a1db91390886e2cd27d991f6770dbd6cfc.tar.bz2
aports-34ee36a1db91390886e2cd27d991f6770dbd6cfc.tar.xz
testing/mednafen: new aport
Diffstat (limited to 'testing/mednafen/02-sdl_by_default.patch')
-rw-r--r--testing/mednafen/02-sdl_by_default.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mednafen/02-sdl_by_default.patch b/testing/mednafen/02-sdl_by_default.patch
new file mode 100644
index 000000000..e5c10e5d5
--- /dev/null
+++ b/testing/mednafen/02-sdl_by_default.patch
@@ -0,0 +1,11 @@
+--- 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" },
+
+ { "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" },