Merge pull request #165 from delroth/mi-mmio-fix

MemoryInterface: properly register region MMIOs.
This commit is contained in:
Matthew Parlane 2014-03-15 12:57:01 +13:00
commit 76e3a74c5c
1 changed files with 1 additions and 1 deletions

View File

@ -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,