[gnome-games] retro-runner: Take screenshot before restarting
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-runner: Take screenshot before restarting
- Date: Tue, 28 Jan 2020 14:09:07 +0000 (UTC)
commit 9e2c890945b1a62d369eabc166178e77176ac48d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jan 28 18:44:32 2020 +0500
retro-runner: Take screenshot before restarting
Use the correct thumbnail for the autosave.
src/retro/retro-runner.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 48bd684d..4ed1b9d1 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -247,6 +247,7 @@ public class Games.RetroRunner : Object, Runner {
}
public void restart () {
+ current_state_pixbuf = view.get_pixbuf ();
try_create_savestate (true);
core.reset ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]