mame: Add patch to show video-mode option 'accel' in help and GUI

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2019-02-16 22:51:01 +01:00
parent b11abed246
commit 1ba03c6494
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From 549674e69e467004a3e2366d2cd3d08071832ccc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Wed, 13 Feb 2019 22:30:09 +0100
Subject: [PATCH] Show video-mode option 'accel' in help and GUI
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Submitted [1]
[1] https://github.com/mamedev/mame/pull/4650
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/osd/sdl/sdlmain.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/osd/sdl/sdlmain.cpp b/src/osd/sdl/sdlmain.cpp
index f7d80a1048..37d1434a2e 100644
--- a/src/osd/sdl/sdlmain.cpp
+++ b/src/osd/sdl/sdlmain.cpp
@@ -375,6 +375,7 @@ static void osd_sdl_info(void)
void sdl_osd_interface::video_register()
{
video_options_add("soft", nullptr);
+ video_options_add("accel", nullptr);
#if USE_OPENGL
video_options_add("opengl", nullptr);
#endif
--
2.20.1

View File

@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=798620970c471a3a6b7b5e9c9192fe12"
SRC_URI = " \
https://github.com/mamedev/mame/archive/${BPN}${PV}.tar.gz \
file://0001-Show-video-mode-option-accel-in-help-and-GUI.patch \
"
SRC_URI[md5sum] = "b20e4edb93b1e81802b2b23688ad87ca"
SRC_URI[sha256sum] = "588ba357361cc49fdc2754d8343c8b91f6b965b30220a998cbb1da09e49dcbdd"