summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-23 10:20:56 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-23 10:20:56 +0100
commit4a569c44497eb211e04c1ea64e52004cbe58792a (patch)
treed2ae2d4859d6b9ff2662beef8bf0a74c1402b59a /Source/Core
parent5313954a9edbf6ac903ad60a9ae09d0e6ae6505f (diff)
parent86326de6f6307448a74e5f84ad2cfe2ed2521252 (diff)
Merge pull request #97 from delroth/mmio-gpfifo
WriteToHardware: Pass through the whole 0xCC008xxx area to GPFifo instead of only 0xCC008000.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/MemmapFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/MemmapFunctions.cpp b/Source/Core/Core/HW/MemmapFunctions.cpp
index 3a85a1ed70..39f73793de 100644
--- a/Source/Core/Core/HW/MemmapFunctions.cpp
+++ b/Source/Core/Core/HW/MemmapFunctions.cpp
@@ -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
// reason we end up in this function:
- if (em_address == 0xCC008000)
+ if ((em_address & 0xFFFFF000) == 0xCC008000)
{
switch (sizeof(T))
{