linux (compat): Add linux to most Win64 guards

This commit is contained in:
Anaël committed 2026-11-29 13:33:39 +01:00
1 parent 8cf5675892
commit 9626065598
180 files changed
+941 -935

No files matched your search

@@ -43,7 +43,7 @@ UIScene_HelpAndOptionsMenu::UIScene_HelpAndOptionsMenu(int iPad, void *initData,
// 4J-PB - do not need a storage device to see this menu - just need one when you choose to re-install them
bool bNotInGame=(Minecraft::GetInstance()->level==nullptr);
// any content to be re-installed?
// any content to be re-installed?
if(m_iPad==ProfileManager.GetPrimaryPad() && bNotInGame)
{
// We should show the reinstall menu
@@ -130,7 +130,7 @@ void UIScene_HelpAndOptionsMenu::handleReload()
// 4J-PB - do not need a storage device to see this menu - just need one when you choose to re-install them
bool bNotInGame=(Minecraft::GetInstance()->level==nullptr);
// any content to be re-installed?
// any content to be re-installed?
if(m_iPad==ProfileManager.GetPrimaryPad() && bNotInGame)
{
// We should show the reinstall menu
@@ -213,7 +213,7 @@ void UIScene_HelpAndOptionsMenu::handlePress(F64 controlId, F64 childId)
ui.NavigateToScene(m_iPad, eUIScene_HowToPlayMenu);
break;
case BUTTON_HAO_CONTROLS:
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
ui.NavigateToScene(m_iPad, eUIScene_BindingsTypeMenu);
#else
ui.NavigateToScene(m_iPad, eUIScene_ControlsMenu);