GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 720fef99 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

nintendo-ds: Add NintendoDsPlatform

This will be used in the next commit to override savestate type.
parent e51be6c1
......@@ -3,6 +3,7 @@ vala_sources = [
'nintendo-ds-layout.vala',
'nintendo-ds-layout-item.vala',
'nintendo-ds-layout-switcher.vala',
'nintendo-ds-platform.vala',
'nintendo-ds-plugin.vala',
'nintendo-ds-runner.vala',
]
......
// This file is part of GNOME Games. License: GPL-3.0+.
public class Games.NintendoDsPlatform : RetroPlatform {
public NintendoDsPlatform (string id, string name, string[] mime_types, string prefix) {
base (id, name, mime_types, prefix);
}
}
......@@ -6,10 +6,10 @@ private class Games.NintendoDsPlugin : Object, Plugin {
private const string PLATFORM_NAME = _("Nintendo DS");
private const string PLATFORM_UID_PREFIX = "nintendo-ds";
private static RetroPlatform platform;
private static NintendoDsPlatform platform;
static construct {
platform = new RetroPlatform (PLATFORM_ID, PLATFORM_NAME, { MIME_TYPE }, PLATFORM_UID_PREFIX);
platform = new NintendoDsPlatform (PLATFORM_ID, PLATFORM_NAME, { MIME_TYPE }, 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