From d5e5e2d81dae799265a74da1cd4bc79854627dc3 Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Thu, 12 Aug 2021 22:58:29 +0200 Subject: [PATCH] Yeet OpenGL A/B --- source-code/source/PD-Loader/Patches/PatchApplier710.h | 4 ++-- source-code/source/PD-Loader/Patches/patches-framework.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source-code/source/PD-Loader/Patches/PatchApplier710.h b/source-code/source/PD-Loader/Patches/PatchApplier710.h index 023364b..f018694 100644 --- a/source-code/source/PD-Loader/Patches/PatchApplier710.h +++ b/source-code/source/PD-Loader/Patches/PatchApplier710.h @@ -308,7 +308,7 @@ class PatchApplier710 : public PatchApplier { printf("[Patches] Enhanced Stage Manager enabled\n"); } // OpenGL Patches - if (nOGLPatchA) + /*if (nOGLPatchA) { // (call cs:glGetError) -> (xor eax, eax); (nop); (nop); (nop); (nop); InjectCode((void*)0x000000014069D21D, { 0x31, 0xC0, 0x90, 0x90, 0x90, 0x90 }); @@ -317,7 +317,7 @@ class PatchApplier710 : public PatchApplier { { // (js loc_14069BC32) -> (nop)... InjectCode((void*)0x000000014069BAF4, { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 }); - } + }*/ // Unlock PSEUDO modules (which will all default to Miku, unless we also patch them to match the first performer) if (nUnlockPseudo) { diff --git a/source-code/source/PD-Loader/Patches/patches-framework.h b/source-code/source/PD-Loader/Patches/patches-framework.h index a86c987..caa1a72 100644 --- a/source-code/source/PD-Loader/Patches/patches-framework.h +++ b/source-code/source/PD-Loader/Patches/patches-framework.h @@ -88,8 +88,8 @@ auto nEStageManagerEncore = GetPrivateProfileIntW(L"patches", L"enhanced_stage_m auto nUnlockPseudo = GetPrivateProfileIntW(L"patches", L"unlock_pseudo", FALSE, CONFIG_FILE); auto nCard = GetPrivateProfileIntW(L"patches", L"card", TRUE, CONFIG_FILE); auto nHardwareSlider = GetPrivateProfileIntW(L"patches", L"hardware_slider", FALSE, CONFIG_FILE); -auto nOGLPatchA = GetPrivateProfileIntW(L"patches", L"opengl_patch_a", FALSE, CONFIG_FILE); -auto nOGLPatchB = GetPrivateProfileIntW(L"patches", L"opengl_patch_b", FALSE, CONFIG_FILE); +//auto nOGLPatchA = GetPrivateProfileIntW(L"patches", L"opengl_patch_a", FALSE, CONFIG_FILE); +//auto nOGLPatchB = GetPrivateProfileIntW(L"patches", L"opengl_patch_b", FALSE, CONFIG_FILE); auto nTAA = GetPrivateProfileIntW(L"graphics", L"taa", TRUE, CONFIG_FILE); auto nMLAA = GetPrivateProfileIntW(L"graphics", L"mlaa", TRUE, CONFIG_FILE); auto nDoF = GetPrivateProfileIntW(L"graphics", L"dof", TRUE, CONFIG_FILE);