Skip to content

Commit

Permalink
Misc: Android build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 29, 2024
1 parent b7fff84 commit 0f51472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void Log::DebugOutputLogCallback(void* pUserParam, MessageCategory cat, const ch
if (message.empty())
return;

static constexpr int logPriority[static_cast<size_t>(Level::Count)] = {
static constexpr int logPriority[static_cast<size_t>(Level::MaxCount)] = {
ANDROID_LOG_INFO, // None
ANDROID_LOG_ERROR, // Error
ANDROID_LOG_WARN, // Warning
Expand Down
2 changes: 1 addition & 1 deletion src/core/game_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0f51472

Please # to comment.