Revert "fix: fix resolution detection (#133)" (#143)

This reverts commit afa4efbc85.
This commit is contained in:
void_17
2026-03-02 22:56:56 +07:00
committed by GitHub
parent afa4efbc85
commit 8c18926d59
5 changed files with 18 additions and 11 deletions

View File

@@ -426,7 +426,7 @@ void UIController::loadSkins()
#elif defined __PSVITA__
platformSkinPath = L"skinVita.swf";
#elif defined _WINDOWS64
if(m_fScreenHeight>720.0f)
if(m_fScreenHeight>=1080.0f)
{
platformSkinPath = L"skinHDWin.swf";
}
@@ -435,7 +435,7 @@ void UIController::loadSkins()
platformSkinPath = L"skinWin.swf";
}
#elif defined _DURANGO
if(m_fScreenHeight>720.0f)
if(m_fScreenHeight>=1080.0f)
{
platformSkinPath = L"skinHDDurango.swf";
}
@@ -444,7 +444,7 @@ void UIController::loadSkins()
platformSkinPath = L"skinDurango.swf";
}
#elif defined __ORBIS__
if(m_fScreenHeight>720.0f)
if(m_fScreenHeight>=1080.0f)
{
platformSkinPath = L"skinHDOrbis.swf";
}
@@ -455,7 +455,7 @@ void UIController::loadSkins()
#endif
// Every platform has one of these, so nothing shared
if(m_fScreenHeight>720.0f)
if(m_fScreenHeight>=1080.0f)
{
m_iggyLibraries[eLibrary_Platform] = loadSkin(platformSkinPath, L"platformskinHD.swf");
}