From 1a1d51308c90859e27c0571306e549d4856e2ee6 Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Thu, 30 Apr 2009 21:28:54 +0000 Subject: [PATCH] Fixed a typo in the SIO2 hardware read interface: SIO2_getSend1 and getSend2 had inverted switch cases (probably been there for years). git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1094 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/IopHw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/IopHw.cpp b/pcsx2/IopHw.cpp index b973f43ac0..e23294911c 100644 --- a/pcsx2/IopHw.cpp +++ b/pcsx2/IopHw.cpp @@ -560,7 +560,7 @@ u32 psxHwRead32(u32 add) { case 0x1F808240: case 0x1F808248: case 0x1F808250: - case 0x1F80825C: + case 0x1F808258: hard=sio2_getSend1((add-0x1F808240)/8); PSXHW_LOG("SIO2 read send1[%d] (%lx)", (add-0x1F808240)/8, hard); return hard; @@ -568,7 +568,7 @@ u32 psxHwRead32(u32 add) { case 0x1F808244: case 0x1F80824C: case 0x1F808254: - case 0x1F808258: + case 0x1F80825C: hard=sio2_getSend2((add-0x1F808244)/8); PSXHW_LOG("SIO2 read send2[%d] (%lx)", (add-0x1F808244)/8, hard); return hard;