Merge pull request #14 from flathub/250

Sync 0.250
This commit is contained in:
jflatt 2022-11-29 11:50:15 -08:00 committed by GitHub
commit 3bb85913c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 30 deletions

View file

@ -27,6 +27,7 @@
<url type="homepage">https://www.mamedev.org</url>
<launchable type="desktop-id">org.mamedev.MAME.desktop</launchable>
<releases>
<release version="0.250" date="2022-11-30"/>
<release version="0.249" date="2022-10-27"/>
<release version="0.248" date="2022-09-28"/>
<release version="0.247" date="2022-08-31"/>

View file

@ -57,8 +57,8 @@ modules:
- cp -r samples/ ${FLATPAK_DEST}/share/mame/
sources:
- type: archive
url: https://github.com/mamedev/mame/archive/refs/tags/mame0249.tar.gz
sha256: 93df1b954c2e6c0fe8b54b3662f642f77d7d460f42c0de0bac0b03ccb86756c4
url: https://github.com/mamedev/mame/archive/refs/tags/mame0250.tar.gz
sha256: 949ec937b1df50af519f594d690832ca56342983f519b62a4be9c2c0b595d3ad
- type: file
path: mame16x16.png
- type: file
@ -83,5 +83,3 @@ modules:
path: floppy.patch
- type: patch
path: sound.patch
- type: patch
path: selgame.patch

View file

@ -1,26 +0,0 @@
diff --git a/src/frontend/mame/ui/selgame.cpp b/src/frontend/mame/ui/selgame.cpp
index 3ae7903b514..f944080fa9e 100644
--- a/src/frontend/mame/ui/selgame.cpp
+++ b/src/frontend/mame/ui/selgame.cpp
@@ -423,13 +423,19 @@ void menu_select_game::populate(float &customtop, float &custombottom)
cloneof = false;
}
- item_append(elem.description, cloneof ? FLAG_INVERT : 0, (void *)&info);
+ item_append(info.devicetype.empty() ? elem.description : info.longname,
+ cloneof ? FLAG_INVERT : 0,
+ (void *)&info);
}
else
{
if (old_item_selected == -1 && info.shortname == reselect_last::driver())
old_item_selected = curitem;
- item_append(elem.description, info.devicetype, info.parentname.empty() ? 0 : FLAG_INVERT, (void *)&info);
+
+ item_append(info.devicetype.empty() ? elem.description : info.longname,
+ info.devicetype,
+ info.parentname.empty() ? 0 : FLAG_INVERT,
+ (void *)&info);
}
curitem++;
});