From 7c3cb9357ed39241dd40ad68652778b6e275d641 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 3 Feb 2013 23:22:27 -0800 Subject: [PATCH] Fix crash with GE interrupts. --- Core/HLE/sceGe.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/HLE/sceGe.cpp b/Core/HLE/sceGe.cpp index b949e484e0..91c687d65d 100644 --- a/Core/HLE/sceGe.cpp +++ b/Core/HLE/sceGe.cpp @@ -47,6 +47,12 @@ public: GeInterruptData intrdata = ge_pending_cb.front(); DisplayList* dl = gpu->getList(intrdata.listid); + if (dl == NULL) + { + WARN_LOG(HLE, "Unable to run GE interrupt: list doesn't exist: %d", intrdata.listid); + return false; + } + gpu->InterruptStart(); u32 cmd = Memory::ReadUnchecked_U32(intrdata.pc) >> 24;