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:
parent
19336445df
commit
cedb93df9c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue