mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix "Improved compatibility of sceGeListEnQueue: verify that stackDepth < 256"
Fix #11660
based from
f9a116f78a
the varable name is differcult from jpcsp,so that I translate wrong.
This commit is contained in:
parent
a63706925f
commit
54ffe9b235
1 changed files with 2 additions and 2 deletions
|
@ -679,8 +679,8 @@ u32 GPUCommon::EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer<Ps
|
|||
return SCE_KERNEL_ERROR_INVALID_POINTER;
|
||||
}
|
||||
|
||||
if (args.IsValid() && args->size >= 256) {
|
||||
ERROR_LOG_REPORT(G3D, "sceGeListEnqueue: invalid size %d", args->size);
|
||||
if (args.IsValid() && args->numStacks >= 256 ) {
|
||||
ERROR_LOG_REPORT(G3D, "sceGeListEnqueue: invalid size %d", args->numStacks);
|
||||
return SCE_KERNEL_ERROR_INVALID_SIZE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue