Actually apply the restored gstate.

This commit is contained in:
Unknown W. Brackets 2013-09-23 23:17:36 -07:00
parent f829028ec7
commit 4c3b3484d7

View file

@ -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);