Cut down on rescheduling in sceGeListEnqueue.

Fixes ClaDun X2.
This commit is contained in:
Unknown W. Brackets committed 2013-02-12 07:45:20 -08:00
1 parent 700167baac
commit 21483f2d4c
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -112,8 +112,13 @@ void __GeShutdown()
}
void __GeTriggerInterrupt(int listid, u32 pc, u32 subIntrBase, u16 subIntrToken)
void __GeTriggerInterrupt(int listid, u32 pc, int subIntrBase, u16 subIntrToken)
{
// ClaDun X2 does not expect sceGeListEnqueue to reschedule (which it does not on the PSP.)
// Once PPSSPP's GPU is multithreaded, we can remove this check.
if (subIntrBase < 0)
return;
GeInterruptData intrdata;
intrdata.listid = listid;
intrdata.pc = pc;
+1 -1
View File
@@ -39,7 +39,7 @@ void Register_sceGe_user();
void __GeInit();
void __GeDoState(PointerWrap &p);
void __GeShutdown();
void __GeTriggerInterrupt(int listid, u32 pc, u32 subIntrBase, u16 subIntrToken);
void __GeTriggerInterrupt(int listid, u32 pc, int subIntrBase, u16 subIntrToken);
bool __GeHasPendingInterrupt();