Merge pull request #1039 from Nekokabu/master
fix for "Writing 0 to a flash ram command register"
This commit is contained in:
commit
bdc109b0b8
|
@ -218,6 +218,7 @@ void CFlashram::WriteToFlashCommand(uint32_t FlashRAM_Command)
|
|||
m_FlashStatus = 0x1111800100C2001E;
|
||||
break;
|
||||
case 0xF0000000:
|
||||
case 0x00000000:
|
||||
m_FlashFlag = FLASHRAM_MODE_READ;
|
||||
m_FlashStatus = 0x11118004F0000000;
|
||||
break;
|
||||
|
|
|
@ -5578,13 +5578,13 @@ void CMipsMemoryVM::Write32CartridgeDomain2Address2(void)
|
|||
g_MMU->DmaFromSram(tmp, (m_MemLookupAddress & 0x1FFFFFFF) - 0x08000000, 4);
|
||||
return;
|
||||
}
|
||||
if ((m_MemLookupAddress & 0x1FFFFFFF) != 0x08010000)
|
||||
/*if ((m_MemLookupAddress & 0x1FFFFFFF) != 0x08010000)
|
||||
{
|
||||
if (bHaveDebugger())
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
if (g_System->m_SaveUsing == SaveChip_Auto)
|
||||
{
|
||||
g_System->m_SaveUsing = SaveChip_FlashRam;
|
||||
|
|
Loading…
Reference in New Issue