From 863d80c16c7bc36b1891cc4239833fca6abad626 Mon Sep 17 00:00:00 2001 From: psucien Date: Sun, 2 Jun 2024 18:59:41 +0200 Subject: [PATCH] fix for name of the first dumped cmdb --- src/core/libraries/gnmdriver/gnmdriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/libraries/gnmdriver/gnmdriver.cpp b/src/core/libraries/gnmdriver/gnmdriver.cpp index 4e43544a..4df2709f 100644 --- a/src/core/libraries/gnmdriver/gnmdriver.cpp +++ b/src/core/libraries/gnmdriver/gnmdriver.cpp @@ -1462,7 +1462,7 @@ s32 PS4_SYSV_ABI sceGnmSubmitCommandBuffers(u32 count, const u32* dcb_gpu_addrs[ if (Config::dumpPM4()) { static auto last_frame_num = frames_submitted; static u32 seq_num{}; - if (last_frame_num == frames_submitted) { + if (last_frame_num && last_frame_num == frames_submitted) { ++seq_num; } else { last_frame_num = frames_submitted;