mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GPUDebug: Remove lastStepTime
This commit is contained in:
parent
b608257b46
commit
663131d5f8
1 changed files with 1 additions and 9 deletions
|
@ -35,7 +35,6 @@ static int thisFlipNum = 0;
|
|||
|
||||
bool g_primAfterDraw = false;
|
||||
|
||||
static double lastStepTime = -1.0;
|
||||
static uint32_t g_skipPcOnce = 0;
|
||||
|
||||
static std::vector<std::pair<int, int>> restrictPrimRanges;
|
||||
|
@ -65,7 +64,6 @@ void ClearBreak() {
|
|||
breakNext = BreakNext::NONE;
|
||||
breakAtCount = -1;
|
||||
GPUStepping::ResumeFromStepping();
|
||||
lastStepTime = -1.0;
|
||||
}
|
||||
|
||||
BreakNext GetBreakNext() {
|
||||
|
@ -94,7 +92,6 @@ void SetBreakNext(BreakNext next, GPUBreakpoints *breakpoints) {
|
|||
if (GPUStepping::IsStepping()) {
|
||||
GPUStepping::ResumeFromStepping();
|
||||
}
|
||||
lastStepTime = next == BreakNext::NONE ? -1.0 : time_now_d();
|
||||
}
|
||||
|
||||
void SetBreakCount(int c, bool relative) {
|
||||
|
@ -154,12 +151,7 @@ NotifyResult NotifyCommand(u32 pc, GPUBreakpoints *breakpoints) {
|
|||
}
|
||||
|
||||
auto info = gpuDebug->DisassembleOp(pc);
|
||||
if (lastStepTime >= 0.0) {
|
||||
NOTICE_LOG(Log::GeDebugger, "Waiting at %08x, %s (%fms)", pc, info.desc.c_str(), (time_now_d() - lastStepTime) * 1000.0);
|
||||
lastStepTime = -1.0;
|
||||
} else {
|
||||
NOTICE_LOG(Log::GeDebugger, "Waiting at %08x, %s", pc, info.desc.c_str());
|
||||
}
|
||||
NOTICE_LOG(Log::GeDebugger, "Waiting at %08x, %s", pc, info.desc.c_str());
|
||||
|
||||
g_skipPcOnce = pc;
|
||||
breakNext = BreakNext::NONE;
|
||||
|
|
Loading…
Add table
Reference in a new issue