summaryrefslogtreecommitdiff
path: root/win32/gui
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-14 19:18:22 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-14 19:18:22 +0000
commit111ada78b7d179e115466c726ae1d7d05fed9ddb (patch)
tree300aa4b88b4cafdf036891cebc5ffc9b9c5156c5 /win32/gui
parent1b05b0e9736ab40e15190e608d1662921903a0c6 (diff)
downloadpcsxr-111ada78b7d179e115466c726ae1d7d05fed9ddb.tar.gz
sio;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82898 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'win32/gui')
-rwxr-xr-xwin32/gui/ConfigurePlugins.c4
-rwxr-xr-xwin32/gui/WndMain.c4
-rwxr-xr-xwin32/gui/plugin.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/win32/gui/ConfigurePlugins.c b/win32/gui/ConfigurePlugins.c
index 2edc2bf8..1c8080f5 100755
--- a/win32/gui/ConfigurePlugins.c
+++ b/win32/gui/ConfigurePlugins.c
@@ -68,7 +68,7 @@ int LoadConfig() {
QueryKey(256, "Lang", Conf->Lang);
QueryKeyV("Xa", Conf->Xa);
- QueryKeyV("Sio", Conf->Sio);
+ QueryKeyV("SioIrq", Conf->SioIrq);
QueryKeyV("Mdec", Conf->Mdec);
QueryKeyV("PsxAuto", Conf->PsxAuto);
QueryKeyV("Cdda", Conf->Cdda);
@@ -120,7 +120,7 @@ void SaveConfig() {
SetKey("BiosDir", Conf->BiosDir, strlen(Conf->BiosDir), REG_SZ);
SetKeyV("Xa", Conf->Xa);
- SetKeyV("Sio", Conf->Sio);
+ SetKeyV("SioIrq", Conf->SioIrq);
SetKeyV("Mdec", Conf->Mdec);
SetKeyV("PsxAuto", Conf->PsxAuto);
SetKeyV("Cdda", Conf->Cdda);
diff --git a/win32/gui/WndMain.c b/win32/gui/WndMain.c
index f8401f21..b3d45b2e 100755
--- a/win32/gui/WndMain.c
+++ b/win32/gui/WndMain.c
@@ -1326,7 +1326,7 @@ BOOL CALLBACK ConfigureCpuDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lPar
Static_SetText(GetDlgItem(hW,IDC_SELPSX), _("Psx System Type"));
Button_SetCheck(GetDlgItem(hW,IDC_XA), Config.Xa);
- Button_SetCheck(GetDlgItem(hW,IDC_SIO), Config.Sio);
+ Button_SetCheck(GetDlgItem(hW,IDC_SIO), Config.SioIrq);
Button_SetCheck(GetDlgItem(hW,IDC_MDEC), Config.Mdec);
Button_SetCheck(GetDlgItem(hW,IDC_CDDA), Config.Cdda);
Button_SetCheck(GetDlgItem(hW,IDC_SLOWBOOT),Config.SlowBoot);
@@ -1360,7 +1360,7 @@ BOOL CALLBACK ConfigureCpuDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lPar
else Config.PsxType = 1;
Config.Xa = Button_GetCheck(GetDlgItem(hW,IDC_XA));
- Config.Sio = Button_GetCheck(GetDlgItem(hW,IDC_SIO));
+ Config.SioIrq = Button_GetCheck(GetDlgItem(hW,IDC_SIO));
Config.Mdec = Button_GetCheck(GetDlgItem(hW,IDC_MDEC));
Config.Cdda = Button_GetCheck(GetDlgItem(hW,IDC_CDDA));
Config.SlowBoot= Button_GetCheck(GetDlgItem(hW,IDC_SLOWBOOT));
diff --git a/win32/gui/plugin.c b/win32/gui/plugin.c
index cf968a18..d4d8c284 100755
--- a/win32/gui/plugin.c
+++ b/win32/gui/plugin.c
@@ -118,8 +118,8 @@ void PADhandleKey(int key) {
break;
case VK_F5:
- Config.Sio ^= 0x1;
- if (Config.Sio)
+ Config.SioIrq ^= 0x1;
+ if (Config.SioIrq)
sprintf(Text, _("*PCSXR*: Sio Irq Always Enabled"));
else sprintf(Text, _("*PCSXR*: Sio Irq Not Always Enabled"));
GPU_displayText(Text);