Fixed more inconsistencies around win64 macro and iggy

This commit is contained in:
niansa 2026-03-11 23:13:33 +01:00 committed by Tropical
parent 00a5fba311
commit 2b88d096d6
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ UIComponent_DebugUIMarketingGuide::UIComponent_DebugUIMarketingGuide(int iPad, v
value[0].number = (F64)4;
#elif defined __PSVITA__
value[0].number = (F64)5;
#elif defined _WINDOWS64
#elif defined _WINDOWS64 || defined __linux__
value[0].number = (F64)0;
#endif
IggyResult out = IggyPlayerCallMethodRS ( getMovie() , &result, IggyPlayerRootPath( getMovie() ), m_funcSetPlatform , 1 , value );
@ -30,4 +30,4 @@ UIComponent_DebugUIMarketingGuide::UIComponent_DebugUIMarketingGuide(int iPad, v
std::wstring UIComponent_DebugUIMarketingGuide::getMoviePath()
{
return L"DebugUIMarketingGuide";
}
}

View file

@ -566,7 +566,7 @@ void UIController::ReloadSkin()
m_iggyLibraries[i] = IGGY_INVALID_LIBRARY;
}
#ifdef _WINDOWS64 || defined(__linux__))
#if defined _WINDOWS64 || defined __linux__
// 4J Stu - Don't load on a thread on windows. I haven't investigated this in detail, so a quick fix
reloadSkinThreadProc(this);
#else
@ -613,7 +613,7 @@ int UIController::reloadSkinThreadProc(void* lpParam)
controller->m_groups[eUIGroup_Fullscreen]->ReloadAll();
// 4J Stu - Don't do this on windows, as we never navigated forwards to start with
#ifndef _WINDOW64
#if ! (defined _WINDOWS64 || defined __linux__)
controller->NavigateBack(0, false, eUIScene_COUNT, eUILayer_Tooltips);
#endif
LeaveCriticalSection(&ms_reloadSkinCS);
@ -2546,7 +2546,7 @@ void UIController::setFontCachingCalculationBuffer(int length)
draw call is not large enough, Iggy will crash or otherwise behave
incorrectly.
*/
#if defined __ORBIS__ || defined _DURANGO || defined _WIN64
#if defined __ORBIS__ || defined _DURANGO || defined _WIN64 || defined __linux__
static const int CHAR_SIZE = 24;
#else
static const int CHAR_SIZE = 16;