[gnome-games] retro-runner: Fix delete_last_automatic_savestate()



commit fbcdeadae16a838ae4f5a1646ec54c282220b504
Author: Yetizone <andreii lisita gmail com>
Date:   Fri Aug 9 22:42:28 2019 +0300

    retro-runner: Fix delete_last_automatic_savestate()
    
    Add missing delete_from_disk() call

 src/retro/retro-runner.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index d2803edd..9aa01b52 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -627,6 +627,8 @@ public class Games.RetroRunner : Object, Runner {
                foreach (var savestate in game_savestates)
                        if (savestate.is_automatic ())
                                last_automatic_savestate = savestate;
+
+               last_automatic_savestate.delete_from_disk ();
        }
 }
 


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