mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Actually apply the restored gstate.
This commit is contained in:
parent
f829028ec7
commit
4c3b3484d7
1 changed files with 2 additions and 0 deletions
|
@ -893,6 +893,7 @@ void GPUCommon::ExecuteOp(u32 op, u32 diff) {
|
|||
__GeTriggerSync(WAITTYPE_GELISTSYNC, currentList->id, currentList->waitTicks);
|
||||
if (currentList->started && currentList->context != NULL) {
|
||||
gstate.Restore(currentList->context);
|
||||
ReapplyGfxStateInternal();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -952,6 +953,7 @@ void GPUCommon::InterruptEnd(int listid) {
|
|||
if (dl.state == PSP_GE_DL_STATE_COMPLETED || dl.state == PSP_GE_DL_STATE_NONE) {
|
||||
if (dl.started && dl.context != NULL) {
|
||||
gstate.Restore(dl.context);
|
||||
ReapplyGfxState();
|
||||
}
|
||||
dl.waitTicks = 0;
|
||||
__GeTriggerWait(WAITTYPE_GELISTSYNC, listid);
|
||||
|
|
Loading…
Add table
Reference in a new issue