From 4c54c0cad8ff33036b00043851f06f76f53b6a3d Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 26 Aug 2008 12:06:43 +0000 Subject: [PATCH] Documented the change of rev 320 in a comment, so people reading the code will not be tempted to remove it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@322 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/VideoInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/Src/HW/VideoInterface.cpp b/Source/Core/Core/Src/HW/VideoInterface.cpp index 8d52dfaf99..9c40752513 100644 --- a/Source/Core/Core/Src/HW/VideoInterface.cpp +++ b/Source/Core/Core/Src/HW/VideoInterface.cpp @@ -283,6 +283,9 @@ void Write32(const u32 _iValue, const u32 _iAddress) break; default: + // 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). Write16(_iValue >> 16, _iAddress); Write16(_iValue & 0xFFFF, _iAddress + 2); break;