[gnome-games/wip/exalm/loading: 25/29] virtual-boy: Add runner factory
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/loading: 25/29] virtual-boy: Add runner factory
- Date: Mon, 11 Nov 2019 21:46:45 +0000 (UTC)
commit c8e54905182f64b587465593fb886600493d0b93
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 12 01:12:47 2019 +0500
virtual-boy: Add runner factory
plugins/virtual-boy/src/virtual-boy-plugin.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/plugins/virtual-boy/src/virtual-boy-plugin.vala b/plugins/virtual-boy/src/virtual-boy-plugin.vala
index 9d026992..873a95f9 100644
--- a/plugins/virtual-boy/src/virtual-boy-plugin.vala
+++ b/plugins/virtual-boy/src/virtual-boy-plugin.vala
@@ -28,6 +28,12 @@ private class Games.VirtualBoyPlugin : 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]