fix for name of the first dumped cmdb

This commit is contained in:
psucien 2024-06-02 18:59:41 +02:00
parent 4087a73145
commit 863d80c16c
1 changed files with 1 additions and 1 deletions

View File

@ -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;