mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-22 22:06:58 +00:00
Halt GPU on invalid addresses, more accurate GetTicks in CoreTiming
This commit is contained in:
parent
320eaeb6a4
commit
f44a207638
@ -169,7 +169,7 @@ void Shutdown()
|
||||
|
||||
u64 GetTicks()
|
||||
{
|
||||
return (u64)globalTimer;
|
||||
return (u64)globalTimer + slicelength - downcount;
|
||||
}
|
||||
|
||||
u64 GetIdleTicks()
|
||||
|
@ -981,6 +981,10 @@ bool GLES_GPU::InterpretList()
|
||||
finished = false;
|
||||
while (!finished)
|
||||
{
|
||||
if (!Memory::IsValidAddress(dcontext.pc)) {
|
||||
ERROR_LOG(G3D, "DL PC = %08x WTF!!!!", dcontext.pc);
|
||||
return true;
|
||||
}
|
||||
if (dcontext.pc == dcontext.stallAddr)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user