Commit 70ebaff3 authored by J0WI's avatar J0WI Committed by Leo

testing/mame: upgrade to 0.224

parent c47c5de9
# Contributor: Taner Tas <taner76@gmail.com>
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=mame
pkgver=0.221
pkgver=0.224
_pkgver=${pkgver/.}
pkgrel=0
pkgdesc="Multi Arcade Machine Emulator with GroovyMAME/Switchres/No-nag patchset."
url="https://mamedev.org"
url="https://mamedev.org/"
arch="all !mips !mips64"
license="GPL-2.0-or-later"
depends="$pkgname-common"
......@@ -13,7 +13,6 @@ makedepends="
alsa-lib-dev
clang-dev
coreutils
dos2unix
expat-dev
flac-dev
fontconfig-dev
......@@ -27,7 +26,7 @@ makedepends="
nasm
portaudio-dev
portmidi-dev
python2-dev
python3-dev
py3-sphinx
rapidjson-dev
sdl2-dev
......@@ -45,24 +44,17 @@ subpackages="
$pkgname-tools
$pkgname-plugins::noarch
"
_groovymame_patch=groovymame-$pkgver.diff
source="
https://github.com/mamedev/mame/archive/$pkgname$_pkgver.tar.gz
$_groovymame_patch::https://drive.google.com/uc?export=download&id=1MLdYfcSszGhuodxV5mDxQyhqJcanDmeS
https://github.com/mamedev/mame/archive/mame$_pkgver.tar.gz
mame.ini
midi.conf
fix-musl.patch
groovymame.patch
nonag.patch
"
options="!check" # No test suite
builddir="$srcdir"/$pkgname-$pkgname${pkgver/.}
prepare() {
default_prepare
cp "$srcdir"/$_groovymame_patch . && dos2unix $_groovymame_patch
patch -p1 < $_groovymame_patch
}
build() {
case "$CARCH" in
x86|armhf|armv7) _PTR64=0;;
......@@ -111,6 +103,7 @@ _build="make
NOASM=$_NOASM
BIGENDIAN=$_BIGENDIAN
TOOLS=
PYTHON_EXECUTABLE=python3
SDL_INI_PATH=/etc/mame
USE_SYSTEM_LIB_EXPAT=1
USE_SYSTEM_LIB_ZLIB=1
......@@ -219,9 +212,9 @@ lang() {
mkdir -p "$subpkgdir"/usr/share/$pkgname
cp -r language "$subpkgdir"/usr/share/$pkgname/
}
sha512sums="8a06684cad3e6e719c548fd09d4c7bbd0a11126270632c38db5b9c521cf1cb0e9ad30a194c50be3a01f4dc86a3e92e075f9a4ee52a6a86aa1db50f5a56640257 mame0221.tar.gz
8961e417568d9e047edd92b204713466be7d06d790125a14688a2d14312ec9c52b6b46e33ab2e9a0e88443ef900d901002fafe640e31d1c255360074e04a6490 groovymame-0.221.diff
sha512sums="a5e01dd017cb78a5aea56f48d7bc2375f2c2b8d4c30b47b1e3f543ee74fb9777c01d8e8305655034e28e6929ce8bd82e9b066333f15718b44ded3adcd6df9b5b mame0224.tar.gz
dc008245cbea0b94f58d83e09bf5fd3fff04ac0e2f3a36b910a8b7633c5377419fc67a1fd366ef268e283f744d9a8d29928cfacf456b3edaa2d0b1a11d46a701 mame.ini
8f83ff5a916f4ff8e86c5afbdfe4475f7780bb36c20c78d6d029d0eb0dafd77b3471faa538aca384001d2049dc94c4df3429c67d743adde9fd6329c91e6d19a2 midi.conf
75bba366aebb37de7758368fbf7418194a18d535e61c1768e6c2c5cf4b3b7a2f625ef687cb8278c03daa9e308951df4c0bdcc944dfcc4ce5305f5ac83e5e049b fix-musl.patch
864816a55f35f9d485ccd143a1e0acd76d47239a6d5344be2a76b50fd4efbdfb4f3e45318d7dfda67faa63c0a52022f2e8313f058965a1eba60e6ca4677a519b nonag.patch"
9107239ea2081cbc5c445559c4f0abf0f6833e6d9df16e4558a2375e5925f789ac749f24744c9d85150fe6822d9ebdafa437cf06419f6bd7beae343040dbf3b4 groovymame.patch
b9d0373472807b81f59be1c8c6a90e3c6774e864a3e73ca4336040bf032c04b270182f8f97bcced8b4f345bcde1f97e114568857a258f9ff010d9b575e61f97c nonag.patch"
This diff is collapsed.
......@@ -10,26 +10,3 @@
{
render_primitive *prim = list.alloc(render_primitive::QUAD);
set_render_bounds_xy(prim->bounds, 0.0f, 0.0f, (float)m_width, (float)m_height);
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -313,7 +313,8 @@
switch (state)
{
case 0:
- if (show_warnings)
+ // DISABLE INTERACTIVE WARNING MESSAGES
+ if (show_gameinfo)
messagebox_text = machine_info().warnings_string();
if (!messagebox_text.empty())
{
@@ -770,6 +771,10 @@
uint32_t mame_ui_manager::handler_messagebox(render_container &container)
{
+ // DISABLE INITIALIZING, LOADING & DECRYPTING MESSAGES
+ if (machine().options().skip_gameinfo())
+ return 0;
+
draw_text_box(container, messagebox_text.c_str(), ui::text_layout::LEFT, 0.5f, 0.5f, messagebox_backcolor);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment