[gnome-games] retro-runner: Remove useless check



commit 2790491cb44ddc95b571d5da7be0d8fdeb26957a
Author: Yetizone <andreii lisita gmail com>
Date:   Sun Feb 3 17:07:13 2019 +0200

    retro-runner: Remove useless check

 src/retro/retro-runner.vala | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 03c462df..268dacce 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -439,9 +439,6 @@ public class Games.RetroRunner : Object, Runner {
        }
 
        private void save_snapshot () throws Error {
-               if (!core.get_can_access_state ())
-                       return;
-
                var bytes = core.get_state ();
                var buffer = bytes.get_data ();
 


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