From cedb93df9cd7681bb1f756e475b28ee4519a9d67 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 26 Aug 2008 13:06:38 +0000 Subject: [PATCH] Use CP_START constant: its value is 0, but using the constant anyway makes the code easier to read. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@325 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/Memmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/Memmap.cpp b/Source/Core/Core/Src/HW/Memmap.cpp index 085d94ccd3..332ad2cfc9 100644 --- a/Source/Core/Core/Src/HW/Memmap.cpp +++ b/Source/Core/Core/Src/HW/Memmap.cpp @@ -160,8 +160,8 @@ void InitHWMemFuncs() for (int i = 0; i < BLOCKSIZE; i++) { - hwRead16 [i] = CommandProcessor::Read16; - hwWrite16[i] = CommandProcessor::Write16; + hwRead16 [CP_START+i] = CommandProcessor::Read16; + hwWrite16[CP_START+i] = CommandProcessor::Write16; hwRead16 [PE_START+i] = PixelEngine::Read16; hwWrite16[PE_START+i] = PixelEngine::Write16;