mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-25 03:09:13 +01:00
Merge pull request #12908 from sum2012/gpu-minor-
Fix "Improved compatibility of sceGeListEnQueue: verify that stackDepth < 256"
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user