From 2a616fcc5e2df683c09df7999374d324c76d0f68 Mon Sep 17 00:00:00 2001 From: "Gauvain \"GovanifY\" Roussel-Tarbouriech" Date: Sun, 23 Feb 2020 03:54:29 +0100 Subject: [PATCH] ipc_debugger: Fixing NULL ptr call on multiple clear --- src/citra_qt/debugger/ipc/recorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/citra_qt/debugger/ipc/recorder.cpp b/src/citra_qt/debugger/ipc/recorder.cpp index 24128e38a1..ef634d7500 100644 --- a/src/citra_qt/debugger/ipc/recorder.cpp +++ b/src/citra_qt/debugger/ipc/recorder.cpp @@ -114,7 +114,7 @@ void IPCRecorderWidget::SetEnabled(bool enabled) { } void IPCRecorderWidget::Clear() { - id_offset = records.size() + 1; + id_offset += records.size(); records.clear(); ui->main->invisibleRootItem()->takeChildren();