From acbd32c5f1c62922b6a07d54b1eb6a3334d4f407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 28 Dec 2023 20:27:32 +0100 Subject: [PATCH] Fix GE frame dumps, no longer produces only 1kb files. Broke in ca94de8d4b1e53b7d596d31e7336ac5133a32a7c --- GPU/Debugger/Record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Debugger/Record.cpp b/GPU/Debugger/Record.cpp index 81aeb4af4e19..f37af0b55716 100644 --- a/GPU/Debugger/Record.cpp +++ b/GPU/Debugger/Record.cpp @@ -619,6 +619,7 @@ void ClearCallback() { static void FinishRecording() { // We're done - this was just to write the result out. + Path filename = WriteRecording(); commands.clear(); pushbuf.clear(); lastVRAM.clear(); @@ -630,7 +631,6 @@ static void FinishRecording() { lastEdramTrans = 0x400; if (writeCallback) { - Path filename = WriteRecording(); writeCallback(filename); } writeCallback = nullptr;