[gnome-games/wip/exalm/loading: 13/29] game-cube: Add runner factory
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/loading: 13/29] game-cube: Add runner factory
- Date: Mon, 11 Nov 2019 21:45:45 +0000 (UTC)
commit 48aa59d1d153cafb8b2e46df636a9283feb9e7d4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 12 01:28:39 2019 +0500
game-cube: Add runner factory
plugins/game-cube/src/game-cube-plugin.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/plugins/game-cube/src/game-cube-plugin.vala b/plugins/game-cube/src/game-cube-plugin.vala
index 380961c8..5ccb81c1 100644
--- a/plugins/game-cube/src/game-cube-plugin.vala
+++ b/plugins/game-cube/src/game-cube-plugin.vala
@@ -28,6 +28,12 @@ private class Games.GameCubePlugin : 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 header = new GameCubeHeader (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]