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:
commit
4a569c4449
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue