mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Remove Fontltn12Hack
This commit is contained in:
1 parent
ab6ccbd08c
commit
14fd9d1752
4 files changed
-18
No files matched your search
@@ -144,7 +144,6 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "DaxterRotatedAnalogStick", &flags_.DaxterRotatedAnalogStick);
|
||||
CheckSetting(iniFile, gameID, "ForceMaxDepthResolution", &flags_.ForceMaxDepthResolution);
|
||||
CheckSetting(iniFile, gameID, "SOCOMClut8Replacement", &flags_.SOCOMClut8Replacement);
|
||||
CheckSetting(iniFile, gameID, "Fontltn12Hack", &flags_.Fontltn12Hack);
|
||||
CheckSetting(iniFile, gameID, "LoadCLUTFromCurrentFrameOnly", &flags_.LoadCLUTFromCurrentFrameOnly);
|
||||
CheckSetting(iniFile, gameID, "ForceUMDReadSpeed", &flags_.ForceUMDReadSpeed);
|
||||
CheckSetting(iniFile, gameID, "KernelGetSystemTimeLowEatMoreCycles", &flags_.KernelGetSystemTimeLowEatMoreCycles);
|
||||
|
||||
@@ -99,7 +99,6 @@ struct CompatFlags {
|
||||
bool DaxterRotatedAnalogStick;
|
||||
bool ForceMaxDepthResolution;
|
||||
bool SOCOMClut8Replacement;
|
||||
bool Fontltn12Hack;
|
||||
bool LoadCLUTFromCurrentFrameOnly;
|
||||
bool ForceUMDReadSpeed;
|
||||
bool KernelGetSystemTimeLowEatMoreCycles;
|
||||
|
||||
@@ -1311,18 +1311,6 @@ static int sceFontFindOptimumFont(u32 libHandle, u32 fontStylePtr, u32 errorCode
|
||||
Font *nearestFont = 0;
|
||||
float nearestDist = std::numeric_limits<float>::infinity();
|
||||
|
||||
if (PSP_CoreParameter().compat.flags().Fontltn12Hack && requestedStyle->fontLanguage == 2) {
|
||||
for (size_t j = 0; j < internalFonts.size(); j++) {
|
||||
const auto &tempmatchStyle = internalFonts[j]->GetFontStyle();
|
||||
const std::string str(tempmatchStyle.fontFileName);
|
||||
if (str == "ltn12.pgf") {
|
||||
optimumFont = internalFonts[j];
|
||||
*errorCode = 0;
|
||||
return hleLogInfo(Log::sceFont, GetInternalFontIndex(optimumFont));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < internalFonts.size(); i++) {
|
||||
MatchQuality q = internalFonts[i]->MatchesStyle(*requestedStyle);
|
||||
if (q != MATCH_NONE) {
|
||||
|
||||
@@ -1847,10 +1847,6 @@ UCJS10102 = true
|
||||
NPJG00035 = true
|
||||
NPJG90068 = true # demo
|
||||
|
||||
[Fontltn12Hack]
|
||||
# optimumFont do not return ltn12.pgf see #11055
|
||||
NPJH00052 = true
|
||||
|
||||
[LoadCLUTFromCurrentFrameOnly]
|
||||
# Helps Syphon Filter: Logan's Shadow color issue, # where we accidentally load a CLUT from an outdated framebuffer.
|
||||
# Perhaps this should be the default.
|
||||
|
||||
Reference in new issue
Block a user