This commit is contained in:
twinaphex
2017-04-30 03:28:37 +02:00
parent a2989501c9
commit 1203585fa2

View File

@@ -193,7 +193,8 @@ static void UNROM512LSync() {
}
else if (latche==0x10)
{
for(uint32 i=0;i<(ROM_size*4);i++)
uint32 i;
for(i=0;i<(ROM_size*4);i++)
inc_flash_write_count(i>>2,i<<12);
memset(flashdata,0xFF,ROM_size*0x4000); //Erasing the rom chip as instructed. Crash rate calulated to be 99.9% :)
}
@@ -261,4 +262,4 @@ void UNROM512_Init(CartInfo *info) {
}
AddExState(&latche, 1, 0, "LATC");
AddExState(&bus_conflict, 1, 0, "BUSC");
}
}