mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sms, fix save/load bugs (irq, mapper)
This commit is contained in:
parent
64360d13b0
commit
da4148881e
3 changed files with 13 additions and 6 deletions
|
@ -605,12 +605,13 @@ readend:
|
|||
Pico32xStateLoaded(0);
|
||||
if (PicoIn.AHW & PAHW_MCD)
|
||||
pcd_state_loaded();
|
||||
if (!(PicoIn.AHW & PAHW_SMS)) {
|
||||
Pico.video.status &= ~(SR_VB | SR_F);
|
||||
Pico.video.status |= ((Pico.video.reg[1] >> 3) ^ SR_VB) & SR_VB;
|
||||
Pico.video.status |= (Pico.video.pending_ints << 2) & SR_F;
|
||||
}
|
||||
|
||||
Pico.m.dirtyPal = 1;
|
||||
Pico.video.status &= ~(SR_VB | SR_F);
|
||||
Pico.video.status |= ((Pico.video.reg[1] >> 3) ^ SR_VB) & SR_VB;
|
||||
Pico.video.status |= (Pico.video.pending_ints << 2) & SR_F;
|
||||
|
||||
retval = 0;
|
||||
|
||||
out:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue