From e1108dba69ad14fed7bc64f996ea09342c900a81 Mon Sep 17 00:00:00 2001 From: "SND\\ckain_cp" Date: Fri, 24 Jan 2014 13:59:46 +0000 Subject: Added rewind feature. Currently only supported via GTK and needs SHM. Rewind save state depth is configured via RewindCount config param. Recommended value is 200 or so -> uses less than 1G of memory git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88433 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- gui/Config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/Config.c') diff --git a/gui/Config.c b/gui/Config.c index 1f370a82..60c2b4cc 100755 --- a/gui/Config.c +++ b/gui/Config.c @@ -142,6 +142,7 @@ int LoadConfig(PcsxConfig *Conf) { Config.Cpu = GetValuel(data, "Cpu"); Config.PsxType = GetValuel(data, "PsxType"); + Config.RewindCount = GetValuel(data, "RewindCount"); free(data); @@ -189,6 +190,7 @@ void SaveConfig() { SetValuel("Cpu", Config.Cpu); SetValuel("PsxType", Config.PsxType); + SetValuel("RewindCount", Config.RewindCount); fclose(f); } -- cgit v1.2.3