fatalerror if the SH4 mmu is turned on.

looks like quite a few NaomiGDs need it.. Ikaruga, Border Down, Senko etc. etc.
This commit is contained in:
davidhay 2009-03-21 19:33:39 +00:00
parent 6a0e1ddf09
commit 663bc8a8cd

View File

@ -641,6 +641,12 @@ WRITE32_HANDLER( sh4_internal_w )
switch( offset )
{
case MMUCR: // MMU Control
if (data & 1)
fatalerror("SH4: MMUCR write enables MMU\n");
break;
// Memory refresh
case RTCSR:
sh4->m[RTCSR] &= 255;