mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Add displayList debug dialog
This commit is contained in:
1 parent
976b440781
commit
2a6af9b8a3
31 files changed
+2950
-250
No files matched your search
+11
-3
@@ -76,6 +76,12 @@ bool GPUCommon::InterpretList(DisplayList &list)
|
||||
ERROR_LOG(G3D, "DL PC = %08x WTF!!!!", list.pc);
|
||||
return true;
|
||||
}
|
||||
#if defined(USING_QT_UI)
|
||||
if(host->GpuStep())
|
||||
{
|
||||
host->SendGPUStart();
|
||||
}
|
||||
#endif
|
||||
|
||||
while (!finished)
|
||||
{
|
||||
@@ -85,14 +91,16 @@ bool GPUCommon::InterpretList(DisplayList &list)
|
||||
list.status = PSP_GE_LIST_STALL_REACHED;
|
||||
return false;
|
||||
}
|
||||
|
||||
op = Memory::ReadUnchecked_U32(list.pc); //read from memory
|
||||
u32 cmd = op >> 24;
|
||||
|
||||
#if defined(USING_QT_UI)
|
||||
if(host->GpuStep())
|
||||
{
|
||||
host->SendGPUWait();
|
||||
host->SendGPUWait(cmd);
|
||||
}
|
||||
#endif
|
||||
op = Memory::ReadUnchecked_U32(list.pc); //read from memory
|
||||
u32 cmd = op >> 24;
|
||||
u32 diff = op ^ gstate.cmdmem[cmd];
|
||||
PreExecuteOp(op, diff);
|
||||
// TODO: Add a compiler flag to remove stuff like this at very-final build time.
|
||||
|
||||
Reference in new issue
Block a user