Fix playback of framedumps for headless

This commit is contained in:
Henrik Rydgård
2026-07-18 19:09:46 +02:00
parent 8ff9793e32
commit 3fd9b42f95
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -1872,7 +1872,7 @@ int __KernelGPUReplay() {
Core_Stop();
}
if (PSP_CoreParameter().headLess && !PSP_CoreParameter().startBreak) {
if (result == GPURecord::ReplayResult::Done && PSP_CoreParameter().headLess && !PSP_CoreParameter().startBreak) {
PSPPointer<u8> topaddr;
u32 linesize = 512;
__DisplayGetFramebuf(&topaddr, &linesize, nullptr, 0);