Skip to content

Commit

Permalink
Fix GE frame dumps, no longer produces only 1kb files.
Browse files Browse the repository at this point in the history
Broke in ca94de8
  • Loading branch information
hrydgard committed Dec 28, 2023
1 parent 80c6dbf commit acbd32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Debugger/Record.cpp
Expand Up @@ -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();
Expand All @@ -630,7 +631,6 @@ static void FinishRecording() {
lastEdramTrans = 0x400;

if (writeCallback) {
Path filename = WriteRecording();
writeCallback(filename);
}
writeCallback = nullptr;
Expand Down

0 comments on commit acbd32c

Please sign in to comment.