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
This commit is contained in:
Maarten ter Huurne 2008-08-26 13:06:38 +00:00
parent 19336445df
commit cedb93df9c
1 changed files with 2 additions and 2 deletions

View File

@ -160,8 +160,8 @@ void InitHWMemFuncs()
for (int i = 0; i < BLOCKSIZE; i++) for (int i = 0; i < BLOCKSIZE; i++)
{ {
hwRead16 [i] = CommandProcessor::Read16; hwRead16 [CP_START+i] = CommandProcessor::Read16;
hwWrite16[i] = CommandProcessor::Write16; hwWrite16[CP_START+i] = CommandProcessor::Write16;
hwRead16 [PE_START+i] = PixelEngine::Read16; hwRead16 [PE_START+i] = PixelEngine::Read16;
hwWrite16[PE_START+i] = PixelEngine::Write16; hwWrite16[PE_START+i] = PixelEngine::Write16;