From 0f51472d64d951b4bac7e530ba6db616fbcecc3b Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 30 Nov 2024 01:05:17 +1000 Subject: [PATCH] Misc: Android build fix --- src/common/log.cpp | 2 +- src/core/game_database.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/log.cpp b/src/common/log.cpp index dc5e0acd3..2a93b838d 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -376,7 +376,7 @@ void Log::DebugOutputLogCallback(void* pUserParam, MessageCategory cat, const ch if (message.empty()) return; - static constexpr int logPriority[static_cast(Level::Count)] = { + static constexpr int logPriority[static_cast(Level::MaxCount)] = { ANDROID_LOG_INFO, // None ANDROID_LOG_ERROR, // Error ANDROID_LOG_WARN, // Warning diff --git a/src/core/game_database.cpp b/src/core/game_database.cpp index 1b10aed67..901af7be0 100644 --- a/src/core/game_database.cpp +++ b/src/core/game_database.cpp @@ -646,7 +646,7 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes #else Host::AddIconOSDWarning("gamedb_force_pgxp_cpu", ICON_EMOJI_WARNING, "This game requires PGXP CPU mode, which increases system requirements.\n" - " If the game runs too slow, disable PGXP for this game.", + " If the game runs too slow, disable PGXP for this game.", Host::OSD_WARNING_DURATION); #endif }