aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mednafen/02-sdl_by_default.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-10 05:43:28 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-04-10 05:44:11 +0000
commitf26de988cb332d0f644a0bf24a78d73518cded92 (patch)
treed14828d9109dce0973946ce7c57eba59fdd9b623 /testing/mednafen/02-sdl_by_default.patch
parent6611062f490a5df4dabc2123c982ca6472a70a38 (diff)
downloadaports-f26de988cb332d0f644a0bf24a78d73518cded92.tar.bz2
aports-f26de988cb332d0f644a0bf24a78d73518cded92.tar.xz
testing/mednafen: upgrade to 0.9.38.3 and use paxmark
Diffstat (limited to 'testing/mednafen/02-sdl_by_default.patch')
-rw-r--r--testing/mednafen/02-sdl_by_default.patch21
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."),