mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Fix miscounting of prim calls when stepping by draw
This commit is contained in:
1 parent
3ae469a4f8
commit
2b2d2396f1
1 file changed
+4
@@ -2140,6 +2140,10 @@ void GPUCommon::NotifyFlush() {
|
||||
if (primAfterDraw_) {
|
||||
NOTICE_LOG(Log::GeDebugger, "Flush detected, breaking at next PRIM");
|
||||
primAfterDraw_ = false;
|
||||
|
||||
// We've got one to rewind.
|
||||
primsThisFrame_--;
|
||||
|
||||
// Switch to PRIM mode.
|
||||
SetBreakNext(BreakNext::PRIM);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user