PPU/debugger: Fixup

This commit is contained in:
Eladash 2023-08-21 12:43:05 +03:00 committed by Elad Ashkenazi
parent 17302a9422
commit 7a0185dbcc
1 changed files with 1 additions and 1 deletions

View File

@ -1864,7 +1864,7 @@ std::vector<std::pair<u32, u32>> ppu_thread::dump_callstack_list() const
}
}
const context_t& res = workload[start];
const context_t& res = workload[std::min<usz>(start, workload.size() - 1)];
if (res.maybe_leaf && !res.non_leaf)
{