graphics: refactoring #2

This commit is contained in:
nmzik committed 2026-07-21 07:37:52 +02:00
1 parent b51d4322cc
commit 0a5f78c727
137 files changed
+10230 -10893

No files matched your search

+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;
}