diff --git a/Core/Config.cpp b/Core/Config.cpp index 895d05a1b21d..dc656c2d90a3 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -725,7 +725,7 @@ static ConfigSetting debuggerSettings[] = { }; static ConfigSetting speedHackSettings[] = { - ReportedConfigSetting("PrescaleUV", &g_Config.bPrescaleUV, false, true, true), + ReportedConfigSetting("PrescaleUVCoords", &g_Config.bPrescaleUV, true, true, true), ReportedConfigSetting("DisableAlphaTest", &g_Config.bDisableAlphaTest, false, true, true), ConfigSetting(false), diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index b13166cc9579..bd19fd2da213 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -1219,10 +1219,10 @@ static Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, bool fromT u8 unknown2; }; - u32_le *entPos = (u32_le *)Memory::GetPointer(modinfo->libent); - u32_le *entEnd = (u32_le *)Memory::GetPointer(modinfo->libentend); + const u32_le *entPos = (u32_le *)Memory::GetPointer(modinfo->libent); + const u32_le *entEnd = (u32_le *)Memory::GetPointer(modinfo->libentend); for (int m = 0; entPos < entEnd; ++m) { - PspLibEntEntry *ent = (PspLibEntEntry *)entPos; + const PspLibEntEntry *ent = (const PspLibEntEntry *)entPos; entPos += ent->size; if (ent->size == 0) { WARN_LOG_REPORT(LOADER, "Invalid export entry size %d", ent->size); diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 9a7462b496d6..9891ae6d63b0 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -303,8 +303,6 @@ void GameSettingsScreen::CreateViews() { CheckBox *depthWrite = graphicsSettings->Add(new CheckBox(&g_Config.bAlwaysDepthWrite, gr->T("Always Depth Write"))); depthWrite->SetDisabledPtr(&g_Config.bSoftwareRendering); - graphicsSettings->Add(new CheckBox(&g_Config.bPrescaleUV, gr->T("Texture Coord Speedhack"))); - static const char *bloomHackOptions[] = { "Off", "Safe", "Balanced", "Aggressive" }; PopupMultiChoice *bloomHack = graphicsSettings->Add(new PopupMultiChoice(&g_Config.iBloomHack, gr->T("Lower resolution for effects (reduces artifacts)"), bloomHackOptions, 0, ARRAY_SIZE(bloomHackOptions), gr->GetName(), screenManager())); bloomHackEnable_ = !g_Config.bSoftwareRendering && (g_Config.iInternalResolution != 1);