mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 18:59:04 +02:00
Comment updates
This commit is contained in:
1 parent
2a7a2021fc
commit
9b1d077943
2 files changed
+7
-5
No files matched your search
+4
-4
@@ -335,8 +335,8 @@ static int __GeSubIntrBase(int callbackId) {
|
||||
|
||||
u32 sceGeListEnQueue(u32 listAddress, u32 stallAddress, int callbackId, u32 optParamAddr) {
|
||||
DEBUG_LOG(Log::sceGe,
|
||||
"sceGeListEnQueue(addr=%08x, stall=%08x, cbid=%08x, param=%08x)",
|
||||
listAddress, stallAddress, callbackId, optParamAddr);
|
||||
"sceGeListEnQueue(addr=%08x, stall=%08x, cbid=%08x, param=%08x) ticks=%d",
|
||||
listAddress, stallAddress, callbackId, optParamAddr, CoreTiming::GetTicks());
|
||||
auto optParam = PSPPointer<PspGeListArgs>::Create(optParamAddr);
|
||||
|
||||
u32 listID = gpu->EnqueueList(listAddress, stallAddress, __GeSubIntrBase(callbackId), optParam, false);
|
||||
@@ -350,8 +350,8 @@ u32 sceGeListEnQueue(u32 listAddress, u32 stallAddress, int callbackId, u32 optP
|
||||
|
||||
u32 sceGeListEnQueueHead(u32 listAddress, u32 stallAddress, int callbackId, u32 optParamAddr) {
|
||||
DEBUG_LOG(Log::sceGe,
|
||||
"sceGeListEnQueueHead(addr=%08x, stall=%08x, cbid=%08x, param=%08x)",
|
||||
listAddress, stallAddress, callbackId, optParamAddr);
|
||||
"sceGeListEnQueueHead(addr=%08x, stall=%08x, cbid=%08x, param=%08x) ticks=%d",
|
||||
listAddress, stallAddress, callbackId, optParamAddr, CoreTiming::GetTicks());
|
||||
auto optParam = PSPPointer<PspGeListArgs>::Create(optParamAddr);
|
||||
|
||||
u32 listID = gpu->EnqueueList(listAddress, stallAddress, __GeSubIntrBase(callbackId), optParam, true);
|
||||
|
||||
+3
-1
@@ -467,9 +467,9 @@ u32 GPUCommon::EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer<Ps
|
||||
drawCompleteTicks = (u64)-1;
|
||||
|
||||
// TODO save context when starting the list if param is set
|
||||
// LATER: Wait, what? Please explain.
|
||||
SwitchToGe();
|
||||
}
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
@@ -555,6 +555,8 @@ void GPUCommon::SwitchToGe() {
|
||||
ProcessDLQueue(DLRunType::Run, DLStepType::None);
|
||||
#else
|
||||
// New method, will allow ImDebugger to step the GPU.
|
||||
// ARGH, what makes this different appears to be what happens AFTER the call to
|
||||
// EnqueueList inside sceGeListEnqueue. Like the cycle eating and CoreTiming forcecheck.
|
||||
Core_SwitchToGe();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user