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

View file

@ -1462,7 +1462,7 @@ s32 PS4_SYSV_ABI sceGnmSubmitCommandBuffers(u32 count, const u32* dcb_gpu_addrs[
if (Config::dumpPM4()) { if (Config::dumpPM4()) {
static auto last_frame_num = frames_submitted; static auto last_frame_num = frames_submitted;
static u32 seq_num{}; static u32 seq_num{};
if (last_frame_num == frames_submitted) { if (last_frame_num && last_frame_num == frames_submitted) {
++seq_num; ++seq_num;
} else { } else {
last_frame_num = frames_submitted; last_frame_num = frames_submitted;