diff options
| author | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-01-24 13:59:46 +0000 |
|---|---|---|
| committer | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-01-24 13:59:46 +0000 |
| commit | e1108dba69ad14fed7bc64f996ea09342c900a81 (patch) | |
| tree | a3798c4031cce49eeb5964ec9ae49a9627bc5a91 /gui/Config.c | |
| parent | 47b0777b946e413500bc0420d91298aa4e8f8301 (diff) | |
| download | pcsxr-e1108dba69ad14fed7bc64f996ea09342c900a81.tar.gz | |
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
Diffstat (limited to 'gui/Config.c')
| -rwxr-xr-x | gui/Config.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |
