Remove use of MakePortable enrty on unsupported targets (#201)

`MakePortable` not supported on `android` and `horizon` targets
This commit is contained in:
biroder 2023-03-03 20:28:43 +02:00 committed by GitHub
parent 5bd0dcd564
commit 3fbe94ecd1
1 changed files with 2 additions and 0 deletions

View File

@ -1032,6 +1032,8 @@ impl SettingsMenu {
fs_container.open_game_directory()?;
}
}
#[cfg(not(any(target_os = "android", target_os = "horizon")))]
MenuSelectionResult::Selected(AdvancedMenuEntry::MakePortable, _) => {
self.current = CurrentMenu::PortableMenu;
}