[gnome-games/wip/exalm/loading: 21/29] sega-cd: Add runner factories
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/loading: 21/29] sega-cd: Add runner factories
- Date: Mon, 11 Nov 2019 21:46:25 +0000 (UTC)
commit 66fabdd4ea9eca23630748712665bd244f7a8cc4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 12 01:22:42 2019 +0500
sega-cd: Add runner factories
plugins/sega-cd/src/sega-cd-plugin.vala | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/plugins/sega-cd/src/sega-cd-plugin.vala b/plugins/sega-cd/src/sega-cd-plugin.vala
index 51afba35..8e4da171 100644
--- a/plugins/sega-cd/src/sega-cd-plugin.vala
+++ b/plugins/sega-cd/src/sega-cd-plugin.vala
@@ -41,6 +41,13 @@ private class Games.SegaCDPlugin : Object, Plugin {
return { factory };
}
+ public RunnerFactory[] get_runner_factories () {
+ var factory_sega_cd = new RetroRunnerFactory (platform_sega_cd);
+ var factory_sega_cd_32x = new RetroRunnerFactory (platform_sega_cd_32x);
+
+ return { factory_sega_cd, factory_sega_cd_32x };
+ }
+
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]