mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, fix z80 vcounter value
This commit is contained in:
parent
adffea8dae
commit
7021622153
4 changed files with 27 additions and 28 deletions
|
@ -225,6 +225,15 @@ void PicoLoopPrepare(void)
|
|||
// force setting possibly changed..
|
||||
Pico.m.pal = (PicoIn.regionOverride == 2 || PicoIn.regionOverride == 8) ? 1 : 0;
|
||||
|
||||
if (Pico.m.pal) {
|
||||
Pico.t.vcnt_wrap = 0x103;
|
||||
Pico.t.vcnt_adj = 57;
|
||||
}
|
||||
else {
|
||||
Pico.t.vcnt_wrap = 0xEB;
|
||||
Pico.t.vcnt_adj = 6;
|
||||
}
|
||||
|
||||
Pico.m.dirtyPal = 1;
|
||||
rendstatus_old = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue