[gnome-games/wip/exalm/runner-refactor: 32/33] retro-runner: Don't duplicate core.get_can_access_state()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/runner-refactor: 32/33] retro-runner: Don't duplicate core.get_can_access_state()
- Date: Fri, 6 Mar 2020 14:19:37 +0000 (UTC)
commit 1380ddb614deee19e6d2a3c3a20bc0ac277b5bbb
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Mar 6 19:13:16 2020 +0500
retro-runner: Don't duplicate core.get_can_access_state()
src/retro/retro-runner.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index c2ce5966..749c100c 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -447,7 +447,7 @@ public class Games.RetroRunner : Object, Runner {
// savestate creation fails except warn the user of unsaved progress via the
// QuitDialog in the DisplayView
public Savestate? try_create_savestate (bool is_automatic) {
- if (!core.get_can_access_state ()) // Check if the core can support savestates
+ if (!supports_savestates)
return null;
if (!is_automatic)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]