mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: adjust handlers according to hw tests
"Pico32x.regs[6] |= P32XS_RV;" had wrong offset, but tests show this doesn't happen at all so remove.
This commit is contained in:
parent
eec6905e0b
commit
c9f9453414
2 changed files with 68 additions and 38 deletions
|
@ -140,7 +140,6 @@ void Pico32xStartup(void)
|
|||
void Pico32xShutdown(void)
|
||||
{
|
||||
Pico32x.sh2_regs[0] &= ~P32XS2_ADEN;
|
||||
Pico32x.regs[6] |= P32XS_RV;
|
||||
|
||||
rendstatus_old = -1;
|
||||
|
||||
|
@ -214,6 +213,7 @@ void PicoPower32x(void)
|
|||
memset(&Pico32x, 0, sizeof(Pico32x));
|
||||
|
||||
Pico32x.regs[0] = P32XS_REN|P32XS_nRES; // verified
|
||||
Pico32x.regs[0x10/2] = 0xffff;
|
||||
Pico32x.vdp_regs[0x0a/2] = P32XV_VBLK|P32XV_PEN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue