[gnome-games/wip/exalm/loading: 16/29] mame: Add runner factory



commit ad0bd1f03826e04505d9b14fa3eef95d937c83a4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 12 01:30:01 2019 +0500

    mame: Add runner factory

 plugins/mame/src/mame-plugin.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/plugins/mame/src/mame-plugin.vala b/plugins/mame/src/mame-plugin.vala
index d3046a84..a3ca7c29 100644
--- a/plugins/mame/src/mame-plugin.vala
+++ b/plugins/mame/src/mame-plugin.vala
@@ -29,6 +29,12 @@ private class Games.MamePlugin : Object, Plugin {
 
                return { factory };
        }
+
+       public RunnerFactory[] get_runner_factories () {
+               var factory = new RetroRunnerFactory (platform);
+
+               return { factory };
+       }
 }
 
 [ModuleInit]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]