graphics: refactoring #2

This commit is contained in:
nmzik
2026-07-21 07:20:55 +02:00
parent b51d4322cc
commit 0a5f78c727
137 changed files with 10230 additions and 10893 deletions
+2 -2
View File
@@ -515,8 +515,8 @@ static bool KytyExceptionHandler(const Common::HostException::ExceptionInfo& exc
EXIT("invalid access type for page fault at 0x%016" PRIx64 "\n",
info->access_violation_vaddr);
}();
if (Libs::Graphics::g_render_ctx != nullptr &&
Libs::Graphics::g_render_ctx->GetGpuResources()->HandleFault(
if (Libs::Graphics::HasRenderContext() &&
Libs::Graphics::GetRenderContext().GetGpuResources().HandleFault(
access, info->access_violation_vaddr)) {
return true;
}