Commit 85dab8a0 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

mame: Update RetroPlatform() arguments

Fixes #235
parent 6a69c012
Pipeline #115374 failed with stages
in 7 minutes and 37 seconds
......@@ -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 () {
......
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