WriteToHardware: Pass through the whole 0xCC008xxx area to GPFifo instead of only 0xCC008000.

This commit is contained in:
Pierre Bourdon 2014-02-23 10:01:47 +01:00
parent 14f2fcc96f
commit 86326de6f6
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ inline void WriteToHardware(u32 em_address, const T data, u32 effective_address,
{ {
// First, let's check for FIFO writes, since they are probably the most common // First, let's check for FIFO writes, since they are probably the most common
// reason we end up in this function: // reason we end up in this function:
if (em_address == 0xCC008000) if ((em_address & 0xFFFFF000) == 0xCC008000)
{ {
switch (sizeof(T)) switch (sizeof(T))
{ {