[gnome-games] retro: Always reset core when starting game
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro: Always reset core when starting game
- Date: Fri, 22 Jul 2016 07:09:22 +0000 (UTC)
commit 676d592156fc5d6cccdfa1a8452b453e8b24a3ad
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Jul 22 08:54:57 2016 +0200
retro: Always reset core when starting game
This allways makes the game start from the beginning as demanded,
instead of just resuming it if the runner was ready.
Fixes #311
src/retro/retro-runner.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index f760594..126614d 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -102,9 +102,9 @@ public class Games.RetroRunner : Object, Runner {
if (!is_ready) {
load_ram ();
- core.reset ();
is_ready = true;
}
+ core.reset ();
loop.start ();
running = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]