msx: do not remap inactive memory pages
commit440911cfef748dca5842fb18c2db72977bdeea4c
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Mon, 10 Aug 2009 17:00:41 +0000 (10 18:00 +0100)
committerStuart Brady <stuart.brady@gmail.com>
Mon, 10 Aug 2009 17:00:41 +0000 (10 18:00 +0100)
treee871fc0601e38a2bc29272fea0abc5d4b9bad941
parent2de2b3fe11599533b898e3eaae9485be0d8f2bcb
msx: do not remap inactive memory pages

When remap for a megacart page is requested, check that the megacart's slot
is active on the requested page before remapping actual physical memory.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
hw/msx_mmu.c