sh4: always perform hard-reset of sh4 and its registers

Fixes infinite loop after reboot
This commit is contained in:
Flyinghead 2021-08-27 18:20:40 +02:00
parent 05d51cc35c
commit e058ba5d3b
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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();
}