diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-02-14 19:18:22 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-02-14 19:18:22 +0000 |
| commit | 111ada78b7d179e115466c726ae1d7d05fed9ddb (patch) | |
| tree | 300aa4b88b4cafdf036891cebc5ffc9b9c5156c5 /gui/Config.c | |
| parent | 1b05b0e9736ab40e15190e608d1662921903a0c6 (diff) | |
| download | pcsxr-111ada78b7d179e115466c726ae1d7d05fed9ddb.tar.gz | |
sio;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82898 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/Config.c')
| -rwxr-xr-x | gui/Config.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gui/Config.c b/gui/Config.c index 8c03a69c..bce65ac3 100755 --- a/gui/Config.c +++ b/gui/Config.c @@ -114,6 +114,9 @@ int LoadConfig(PcsxConfig *Conf) { GetValue(data, "Gpu", Config.Gpu); GetValue(data, "Spu", Config.Spu); GetValue(data, "Cdr", Config.Cdr); +#ifdef ENABLE_SIO1API + GetValue(data, "Sio1", Config.Sio1); +#endif GetValue(data, "Pad1", Config.Pad1); GetValue(data, "Pad2", Config.Pad2); GetValue(data, "Net", Config.Net); @@ -124,7 +127,7 @@ int LoadConfig(PcsxConfig *Conf) { GetValue(data, "IsoImgDir", Config.IsoImgDir); Config.Xa = GetValueb(data, "Xa"); - Config.Sio = GetValueb(data, "Sio"); + Config.SioIrq = GetValueb(data, "SioIrq"); Config.Mdec = GetValueb(data, "Mdec"); Config.PsxAuto = GetValueb(data, "PsxAuto"); Config.Cdda = GetValueb(data, "Cdda"); @@ -157,6 +160,9 @@ void SaveConfig() { SetValue("Gpu", Config.Gpu); SetValue("Spu", Config.Spu); SetValue("Cdr", Config.Cdr); +#ifdef ENABLE_SIO1API + SetValue("Sio1", Config.Sio1); +#endif SetValue("Net", Config.Net); SetValue("Pad1", Config.Pad1); SetValue("Pad2", Config.Pad2); @@ -167,7 +173,7 @@ void SaveConfig() { SetValue("IsoImgDir", Config.IsoImgDir); SetValueb("Xa", Config.Xa); - SetValueb("Sio", Config.Sio); + SetValueb("SioIrq", Config.SioIrq); SetValueb("Mdec", Config.Mdec); SetValueb("PsxAuto", Config.PsxAuto); SetValueb("Cdda", Config.Cdda); |
