diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-03-30 15:07:35 +0100 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-03-30 15:07:35 +0100 |
| commit | 8b4350fee747708ffd376744ef5dc1e239a87ba6 (patch) | |
| tree | a9ab6e2f25e06edc7c668353f8000856704f7fa3 /gui/Config.c | |
| parent | e3df273095a5800e3dcdcb63bd66e269c0c2d3a8 (diff) | |
| download | pcsxr-8b4350fee747708ffd376744ef5dc1e239a87ba6.tar.gz | |
Bring up to date with PCSX-R master (97809)
Diffstat (limited to 'gui/Config.c')
| -rwxr-xr-x | gui/Config.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/Config.c b/gui/Config.c index 3c0aa923..25e2e54b 100755 --- a/gui/Config.c +++ b/gui/Config.c @@ -148,6 +148,13 @@ int LoadConfig(PcsxConfig *Conf) { Config.RewindCount = GetValuel(data, "RewindCount"); Config.RewindInterval = GetValuel(data, "RewindInterval"); + Config.AltSpeed1 = GetValuel(data, "AltSpeed1"); + if (!Config.AltSpeed1) + Config.AltSpeed1 = 50; + Config.AltSpeed2 = GetValuel(data, "AltSpeed2"); + if (!Config.AltSpeed2) + Config.AltSpeed2 = 250; + Config.HackFix = GetValuel(data, "HackFix"); free(data); @@ -199,6 +206,9 @@ void SaveConfig() { SetValuel("RewindCount", Config.RewindCount); SetValuel("RewindInterval", Config.RewindInterval); + SetValuel("AltSpeed1", Config.AltSpeed1); + SetValuel("AltSpeed2", Config.AltSpeed2); + SetValuel("HackFix", Config.HackFix); fclose(f); |
