mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 03:16:54 +02:00
graphics: refactoring #2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user