change ANDROID define to TARGET_ANDROID

This commit is contained in:
CraftyBoss
2026-04-14 03:18:21 -07:00
parent 35650784c3
commit ec091ac3af
14 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ void fileDialogCallback(void* userdata, const char* const* filelist, [[maybe_unu
ImGuiPreLaunchWindow::ImGuiPreLaunchWindow() = default;
bool ImGuiPreLaunchWindow::isSelectedPathValid() const {
#if ANDROID
#if TARGET_ANDROID
return !m_selectedIsoPath.empty(); // unsure why SDL_GetPathInfo doesnt work here
#else
return !m_selectedIsoPath.empty() && SDL_GetPathInfo(m_selectedIsoPath.c_str(), nullptr);