[gnome-games/wip/exalm/subprocess: 22/25] Revert "Revert "retro-runner: Remove game-init and game-deinit signals""



commit 3ebd6472257cdb96924bd7fbc5c2a333b31b5c3c
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jan 23 02:02:01 2020 +0500

    Revert "Revert "retro-runner: Remove game-init and game-deinit signals""
    
    This reverts commit f2aa94b31ae9c2f00639bc0128a75ada00c1d418.

 src/retro/retro-runner.vala | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index c2153831..0fa1a673 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -3,9 +3,6 @@
 public class Games.RetroRunner : Object, Runner {
        private const int MAX_AUTOSAVES = 5;
 
-       public signal void game_init ();
-       public signal void game_deinit ();
-
        public bool can_fullscreen {
                get { return true; }
        }
@@ -290,8 +287,6 @@ public class Games.RetroRunner : Object, Runner {
 
                settings.changed["video-filter"].disconnect (on_video_filter_changed);
 
-               game_deinit ();
-
                core = null;
                view.set_core (null);
                view = null;
@@ -331,8 +326,6 @@ public class Games.RetroRunner : Object, Runner {
                                critical (e.message);
                        }
 
-               game_init ();
-
                var platforms_dir = Application.get_platforms_dir ();
                var platform_id = platform.get_id ();
                core.system_directory = @"$platforms_dir/$platform_id/system";


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