Merge pull request #592 from unknownbrackets/dlist

Fix crash with GE interrupts
This commit is contained in:
Henrik Rydgård committed 2013-02-03 23:42:11 -08:00
commit fddae9a051
1 file changed
+6
+6
View File
@@ -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;