[APP] Flush log & save config on quick exit

This commit is contained in:
Adrian
2026-05-14 19:16:46 +01:00
committed by Radosław Gliński
parent 4c396fe611
commit a261b83def
5 changed files with 28 additions and 1 deletions

View File

@@ -286,6 +286,9 @@ void GraphicsSystem::OnHostGpuLossFromAnyThread(
if (host_gpu_loss_reported_.test_and_set(std::memory_order_relaxed)) {
return;
}
config::SaveConfig();
xe::FatalError("Graphics device lost (probably due to an internal error)");
}