A paused list will allow a context save.
Just not stall, drawing, etc.
This commit is contained in:
parent
db1f2f2535
commit
881cefbc83
4 changed files with 15 additions and 2 deletions
|
@ -498,7 +498,7 @@ u32 sceGeSaveContext(u32 ctxAddr)
|
|||
DEBUG_LOG(SCEGE, "sceGeSaveContext(%08x)", ctxAddr);
|
||||
gpu->SyncThread();
|
||||
|
||||
if (gpu->DrawSync(1) != PSP_GE_LIST_COMPLETED)
|
||||
if (gpu->BusyDrawing())
|
||||
{
|
||||
WARN_LOG(SCEGE, "sceGeSaveContext(%08x): lists in process, aborting", ctxAddr);
|
||||
// Real error code.
|
||||
|
@ -521,7 +521,7 @@ u32 sceGeRestoreContext(u32 ctxAddr)
|
|||
DEBUG_LOG(SCEGE, "sceGeRestoreContext(%08x)", ctxAddr);
|
||||
gpu->SyncThread();
|
||||
|
||||
if (gpu->DrawSync(1) != PSP_GE_LIST_COMPLETED)
|
||||
if (gpu->BusyDrawing())
|
||||
{
|
||||
WARN_LOG(SCEGE, "sceGeRestoreContext(%08x): lists in process, aborting", ctxAddr);
|
||||
return SCE_KERNEL_ERROR_BUSY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue