host nullchecks

This commit is contained in:
Henrik Rydgård
2023-03-25 11:06:47 +01:00
parent d0669d118d
commit 9cf7870ffa
3 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -1934,7 +1934,9 @@ void __KernelGPUReplay() {
PSPPointer<u8> topaddr;
u32 linesize = 512;
__DisplayGetFramebuf(&topaddr, &linesize, nullptr, 0);
host->SendDebugScreenshot(topaddr, linesize, 272);
if (host) {
host->SendDebugScreenshot(topaddr, linesize, 272);
}
Core_Stop();
}
}