mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Move the check from #12908 into the firmware version check.
The original change took care of #11660, let's hope it stay fixed. This fixes Toca (#12936).
This commit is contained in:
1 parent
5367cdfdc9
commit
52a3c2248d
1 file changed
+7
-6
+7
-6
@@ -678,17 +678,18 @@ u32 GPUCommon::EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer<Ps
|
||||
ERROR_LOG_REPORT(G3D, "sceGeListEnqueue: invalid address %08x", listpc);
|
||||
return SCE_KERNEL_ERROR_INVALID_POINTER;
|
||||
}
|
||||
|
||||
if (args.IsValid() && args->numStacks >= 256) {
|
||||
ERROR_LOG_REPORT(G3D, "sceGeListEnqueue: invalid size %d", args->numStacks);
|
||||
return SCE_KERNEL_ERROR_INVALID_SIZE;
|
||||
}
|
||||
|
||||
|
||||
int id = -1;
|
||||
u64 currentTicks = CoreTiming::GetTicks();
|
||||
u32_le stackAddr = args.IsValid() ? args->stackAddr : 0;
|
||||
// Check compatibility
|
||||
if (sceKernelGetCompiledSdkVersion() > 0x01FFFFFF) {
|
||||
// See #12908.
|
||||
if (args.IsValid() && args->numStacks >= 256) {
|
||||
ERROR_LOG(G3D, "sceGeListEnqueue: invalid size %08x", args->numStacks);
|
||||
return SCE_KERNEL_ERROR_INVALID_SIZE;
|
||||
}
|
||||
|
||||
//numStacks = 0;
|
||||
//stack = NULL;
|
||||
for (int i = 0; i < DisplayListMaxCount; ++i) {
|
||||
|
||||
Reference in new issue
Block a user