sh4: always perform hard-reset of sh4 and its registers
Fixes infinite loop after reboot
This commit is contained in:
parent
05d51cc35c
commit
e058ba5d3b
|
@ -339,7 +339,7 @@ void dc_reset(bool hard)
|
|||
if (hard)
|
||||
_vmem_unprotect_vram(0, VRAM_SIZE);
|
||||
devicesReset(hard);
|
||||
sh4_cpu.Reset(hard);
|
||||
sh4_cpu.Reset(true);
|
||||
mem_Reset(hard);
|
||||
}
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ void mem_Reset(bool hard)
|
|||
|
||||
//Reset registers
|
||||
sh4_area0_Reset(hard);
|
||||
sh4_mmr_reset(hard);
|
||||
sh4_mmr_reset(true);
|
||||
MMU_reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue