From fdf02ce331e193b781df7499be3cce3cb38dda43 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 26 Aug 2008 10:20:41 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/HW/VideoInterface.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Src/HW/VideoInterface.cpp b/Source/Core/Core/Src/HW/VideoInterface.cpp index 96cad98a6f..8d52dfaf99 100644 --- a/Source/Core/Core/Src/HW/VideoInterface.cpp +++ b/Source/Core/Core/Src/HW/VideoInterface.cpp @@ -282,9 +282,10 @@ void Write32(const u32 _iValue, const u32 _iAddress) m_FrameBuffer2 = _iValue; break; - default: - PanicAlert("VI unknown write32 %08x to %08x", _iValue, _iAddress); - break; + default: + Write16(_iValue >> 16, _iAddress); + Write16(_iValue & 0xFFFF, _iAddress + 2); + break; } }