From 281535ad512ce5e14b885d71d1e6017315a1b0f9 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:20:21 +0300 Subject: [PATCH] Stub out buggy render game scene function. --- UnleashedRecomp/gpu/video.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index 739707b..aa0e021 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -6154,6 +6154,12 @@ GUEST_FUNCTION_HOOK(sub_82E9EE38, SetResolution); GUEST_FUNCTION_HOOK(sub_82AE2BF8, ScreenShaderInit); +// This is a buggy function that recreates framebuffers +// if the inverse capture ratio is not 2.0, but the parameter +// is completely unused and not stored, so it ends up +// recreating framebuffers every single frame instead. +GUEST_FUNCTION_STUB(sub_82BAAD38); + GUEST_FUNCTION_STUB(sub_822C15D8); GUEST_FUNCTION_STUB(sub_822C1810); GUEST_FUNCTION_STUB(sub_82BD97A8);