[gnome-games/gnome-3-34] mame: Update RetroPlatform() arguments
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-34] mame: Update RetroPlatform() arguments
- Date: Sun, 15 Sep 2019 17:42:25 +0000 (UTC)
commit 926f75c04c4c5227959767705dbfdaec04909398
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Sep 15 17:40:48 2019 +0000
mame: Update RetroPlatform() arguments
Fixes #235
(cherry picked from commit 85dab8a0fc6035a363dbf2be97eae1508cab41d5)
plugins/mame/src/mame-plugin.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/mame/src/mame-plugin.vala b/plugins/mame/src/mame-plugin.vala
index 2e4e77a9..d3046a84 100644
--- a/plugins/mame/src/mame-plugin.vala
+++ b/plugins/mame/src/mame-plugin.vala
@@ -5,12 +5,13 @@ private class Games.MamePlugin : Object, Plugin {
private const string SPECIFIC_MIME_TYPE = "application/x-mame-rom";
private const string PLATFORM_ID = "MAME";
private const string PLATFORM_NAME = _("Arcade");
+ private const string PLATFORM_UID_PREFIX = "mame";
private static RetroPlatform platform;
static construct {
string[] mime_types = { SEARCHED_MIME_TYPE, SPECIFIC_MIME_TYPE };
- platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME, mime_types);
+ platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME, mime_types, PLATFORM_UID_PREFIX);
}
public Platform[] get_platforms () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]