diff --git a/src/core/fullscreen_ui.h b/src/core/fullscreen_ui.h index 7eb03e334..9e8405442 100644 --- a/src/core/fullscreen_ui.h +++ b/src/core/fullscreen_ui.h @@ -47,6 +47,9 @@ void TimeToPrintableString(SmallStringBase* str, time_t t); // Host UI triggers from Big Picture mode. namespace Host { + +#ifndef __ANDROID__ + /// Requests shut down and exit of the hosting application. This may not actually exit, /// if the user cancels the shutdown confirmation. void RequestExitApplication(bool allow_confirm); @@ -56,4 +59,7 @@ void RequestExitBigPicture(); /// Requests the cover downloader be opened. void OnCoverDownloaderOpenRequested(); + +#endif + } // namespace Host diff --git a/src/core/imgui_overlays.cpp b/src/core/imgui_overlays.cpp index a366751c9..47556c01d 100644 --- a/src/core/imgui_overlays.cpp +++ b/src/core/imgui_overlays.cpp @@ -76,6 +76,8 @@ static void DrawFrameTimeOverlay(float& position_y, float scale, float margin, f static void DrawEnhancementsOverlay(); static void DrawInputsOverlay(); +#ifndef __ANDROID__ + static constexpr size_t NUM_DEBUG_WINDOWS = 6; static constexpr const char* DEBUG_WINDOW_CONFIG_SECTION = "DebugWindows"; static constexpr const std::array s_debug_window_info = {{ @@ -87,6 +89,8 @@ static constexpr const std::array s_debug_wi {"Timers", "Timers State", ":icons/applications-system.png", &Timers::DrawDebugStateWindow, 800, 95}, }}; static std::array s_debug_window_state = {}; + +#endif } // namespace ImGuiManager static std::tuple GetMinMax(std::span values) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index ec06a2712..c4feb6efb 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -1025,7 +1025,11 @@ void Settings::FixIncompatibleSettings(bool display_osd_messages) g_settings.cpu_overclock_enable = false; g_settings.UpdateOverclockActive(); } + +#ifndef __ANDROID__ g_settings.debugging.enable_gdb_server = false; +#endif + g_settings.debugging.show_vram = false; g_settings.debugging.dump_cpu_to_vram_copies = false; g_settings.debugging.dump_vram_to_cpu_copies = false;