mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Cut down on rescheduling in sceGeListEnqueue.
Fixes ClaDun X2.
This commit is contained in:
1 parent
700167baac
commit
21483f2d4c
2 files changed
+7
-2
No files matched your search
+6
-1
@@ -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
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user