Merge pull request #97 from delroth/mmio-gpfifo

WriteToHardware: Pass through the whole 0xCC008xxx area to GPFifo instead of only 0xCC008000.
This commit is contained in:
Pierre Bourdon 2014-02-23 10:20:56 +01:00
commit 4a569c4449
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))
{ {