mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Add VI parameters correction to RSP_ProcessDList().
Pokemon Stadium can change REG.VI_ORIGIN without call to VI_UpdateScreen(), at least with Project64. Thus, frame buffer allocation may work with obsolete VI info, which causes various glitches, e.g #415
This commit is contained in:
parent
24885907d8
commit
1beadcb625
|
@ -141,6 +141,10 @@ void RSP_ProcessDList()
|
|||
gDPFullSync();
|
||||
return;
|
||||
}
|
||||
if (*REG.VI_ORIGIN != VI.lastOrigin) {
|
||||
VI_UpdateSize();
|
||||
video().updateScale();
|
||||
}
|
||||
|
||||
RSP.PC[0] = *(u32*)&DMEM[0x0FF0];
|
||||
RSP.PCi = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user