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
This commit is contained in:
Jake.Stine 2009-04-30 21:28:54 +00:00
parent d14259b8b4
commit 1a1d51308c
1 changed files with 2 additions and 2 deletions

View File

@ -560,7 +560,7 @@ u32 psxHwRead32(u32 add) {
case 0x1F808240: case 0x1F808240:
case 0x1F808248: case 0x1F808248:
case 0x1F808250: case 0x1F808250:
case 0x1F80825C: case 0x1F808258:
hard=sio2_getSend1((add-0x1F808240)/8); hard=sio2_getSend1((add-0x1F808240)/8);
PSXHW_LOG("SIO2 read send1[%d] (%lx)", (add-0x1F808240)/8, hard); PSXHW_LOG("SIO2 read send1[%d] (%lx)", (add-0x1F808240)/8, hard);
return hard; return hard;
@ -568,7 +568,7 @@ u32 psxHwRead32(u32 add) {
case 0x1F808244: case 0x1F808244:
case 0x1F80824C: case 0x1F80824C:
case 0x1F808254: case 0x1F808254:
case 0x1F808258: case 0x1F80825C:
hard=sio2_getSend2((add-0x1F808244)/8); hard=sio2_getSend2((add-0x1F808244)/8);
PSXHW_LOG("SIO2 read send2[%d] (%lx)", (add-0x1F808244)/8, hard); PSXHW_LOG("SIO2 read send2[%d] (%lx)", (add-0x1F808244)/8, hard);
return hard; return hard;