[gnome-games/wip/exalm/loading: 22/29] sega-saturn: Add runner factory
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/loading: 22/29] sega-saturn: Add runner factory
- Date: Mon, 11 Nov 2019 21:46:30 +0000 (UTC)
commit 8e033b11b8e37332ea3109492cbbaae8afad392c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 12 01:19:39 2019 +0500
sega-saturn: Add runner factory
plugins/sega-saturn/src/sega-saturn-plugin.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/plugins/sega-saturn/src/sega-saturn-plugin.vala b/plugins/sega-saturn/src/sega-saturn-plugin.vala
index b06f23f1..b9622e59 100644
--- a/plugins/sega-saturn/src/sega-saturn-plugin.vala
+++ b/plugins/sega-saturn/src/sega-saturn-plugin.vala
@@ -34,6 +34,12 @@ private class Games.SegaSaturnPlugin : Object, Plugin {
return { factory };
}
+ public RunnerFactory[] get_runner_factories () {
+ var factory = new RetroRunnerFactory (platform);
+
+ return { factory };
+ }
+
private static Game game_for_uri (Uri uri) throws Error {
var file = uri.to_file ();
var file_info = file.query_info (FileAttribute.STANDARD_CONTENT_TYPE,
FileQueryInfoFlags.NONE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]