mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Move call to VI_UpdateSize() from RSP_ProcessDList() to VI_UpdateScreen().
This commit is contained in:
parent
c60e461c1f
commit
e2e75a81be
1
RDP.cpp
1
RDP.cpp
|
@ -543,6 +543,7 @@ void RDP_ProcessRDPList()
|
|||
RDP.cmd_cur = 0;
|
||||
}
|
||||
|
||||
RSP.bLLE = false;
|
||||
gSP.changed |= CHANGED_COLORBUFFER;
|
||||
|
||||
dp_start = dp_current = dp_end;
|
||||
|
|
3
RSP.cpp
3
RSP.cpp
|
@ -136,9 +136,6 @@ void RSP_CheckDLCounter()
|
|||
|
||||
void RSP_ProcessDList()
|
||||
{
|
||||
VI_UpdateSize();
|
||||
video().updateScale();
|
||||
|
||||
RSP.PC[0] = *(u32*)&DMEM[0x0FF0];
|
||||
RSP.PCi = 0;
|
||||
RSP.count = -1;
|
||||
|
|
4
VI.cpp
4
VI.cpp
|
@ -79,7 +79,7 @@ void VI_UpdateScreen()
|
|||
return;
|
||||
ogl.saveScreenshot();
|
||||
|
||||
if (RSP.bLLE && *REG.VI_ORIGIN != VI.lastOrigin) {
|
||||
if (*REG.VI_ORIGIN != VI.lastOrigin) {
|
||||
VI_UpdateSize();
|
||||
video().updateScale();
|
||||
}
|
||||
|
@ -126,9 +126,9 @@ void VI_UpdateScreen()
|
|||
while (Debug.paused && !Debug.step);
|
||||
Debug.step = FALSE;
|
||||
#endif
|
||||
}
|
||||
VI.lastOrigin = *REG.VI_ORIGIN;
|
||||
}
|
||||
}
|
||||
|
||||
if (VI.lastOrigin == 0) { // Workaround for Mupen64Plus issue with initialization
|
||||
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
|
Loading…
Reference in New Issue
Block a user