diff --git a/MarathonRecomp/patches/video_patches.cpp b/MarathonRecomp/patches/video_patches.cpp index cff29903c..ecb8b483d 100644 --- a/MarathonRecomp/patches/video_patches.cpp +++ b/MarathonRecomp/patches/video_patches.cpp @@ -70,6 +70,13 @@ PPC_FUNC(sub_82619D00) ReflectionScaleFactor(Config::ReflectionResolution)); } + // RenderMefiress + if (*pName == "user0") + { + ctx.r5.u32 = static_cast(Config::ShadowResolution.Value); + ctx.r6.u32 = static_cast(Config::ShadowResolution.Value); + } + #if _DEBUG auto width = ctx.r5.u32; auto height = ctx.r6.u32; @@ -95,6 +102,13 @@ PPC_FUNC(sub_82619B88) ctx.r5.u32 = g_radarMapScale; ctx.r6.u32 = g_radarMapScale; } + + // RenderMefiress + if (strcmp(g_pBlockName, "user0") == 0 && *pName == "depthstencil_256") + { + ctx.r5.u32 = static_cast(Config::ShadowResolution.Value); + ctx.r6.u32 = static_cast(Config::ShadowResolution.Value); + } } if (*pName == "depthstencil_1_4")