mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
fix incomplete init
This commit is contained in:
parent
f3d1e1e63f
commit
cd0ace2832
4 changed files with 15 additions and 4 deletions
|
@ -207,6 +207,12 @@ void p32x_timers_do(unsigned int m68k_slice)
|
|||
}
|
||||
}
|
||||
|
||||
void sh2_peripheral_reset(SH2 *sh2)
|
||||
{
|
||||
memset(sh2->peri_regs, 0, sizeof(sh2->peri_regs)); // ?
|
||||
PREG8(sh2->peri_regs, 4) = 0x84; // SCI SSR
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// SH2 internal peripheral memhandlers
|
||||
// we keep them in little endian format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue