Allow 32-bit writes to the VI: although this is officially not allowed, the hardware seems to accept it (for example, DesktopMan GC Tetris uses it).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@320 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-26 10:20:41 +00:00
parent afced1fa98
commit fdf02ce331
1 changed files with 4 additions and 3 deletions

View File

@ -282,9 +282,10 @@ void Write32(const u32 _iValue, const u32 _iAddress)
m_FrameBuffer2 = _iValue; m_FrameBuffer2 = _iValue;
break; break;
default: default:
PanicAlert("VI unknown write32 %08x to %08x", _iValue, _iAddress); Write16(_iValue >> 16, _iAddress);
break; Write16(_iValue & 0xFFFF, _iAddress + 2);
break;
} }
} }