32x: implement more sh2 peripherals

This commit is contained in:
notaz 2013-08-11 20:30:02 +03:00
parent 7eaa381224
commit 61801d5bc8
3 changed files with 92 additions and 33 deletions

View file

@ -173,6 +173,7 @@ void PicoUnload32x(void)
void PicoReset32x(void)
{
if (PicoAHW & PAHW_32X) {
msh2.m68krcycles_done = ssh2.m68krcycles_done = SekCyclesDoneT();
Pico32x.sh2irqs |= P32XI_VRES;
p32x_update_irls(NULL, SekCyclesDoneT2());
p32x_sh2_poll_event(&msh2, SH2_IDLE_STATES, 0);