[gnome-games] mame: Update RetroPlatform() arguments
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] mame: Update RetroPlatform() arguments
- Date: Sun, 15 Sep 2019 17:41:37 +0000 (UTC)
commit 85dab8a0fc6035a363dbf2be97eae1508cab41d5
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Sep 15 22:40:48 2019 +0500
mame: Update RetroPlatform() arguments
Fixes #235
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]