Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #165 from delroth/mi-mmio-fix
MemoryInterface: properly register region MMIOs.
  • Loading branch information
Parlane committed Mar 14, 2014
2 parents a9a8c73 + 9741230 commit 76e3a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/MemoryInterface.cpp
Expand Up @@ -139,7 +139,7 @@ void DoState(PointerWrap &p)

void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
{
for (int i = 0; i < MI_REGION0_FIRST; i += 4)
for (int i = MI_REGION0_FIRST; i <= MI_REGION3_LAST; i += 4)
{
auto& region = g_mi_mem.regions[i / 4];
mmio->Register(base | i,
Expand Down

0 comments on commit 76e3a74

Please sign in to comment.