Misc: Android build fix
This commit is contained in:
parent
b7fff840c8
commit
0f51472d64
|
@ -376,7 +376,7 @@ void Log::DebugOutputLogCallback(void* pUserParam, MessageCategory cat, const ch
|
||||||
if (message.empty())
|
if (message.empty())
|
||||||
return;
|
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_INFO, // None
|
||||||
ANDROID_LOG_ERROR, // Error
|
ANDROID_LOG_ERROR, // Error
|
||||||
ANDROID_LOG_WARN, // Warning
|
ANDROID_LOG_WARN, // Warning
|
||||||
|
|
|
@ -646,7 +646,7 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
|
||||||
#else
|
#else
|
||||||
Host::AddIconOSDWarning("gamedb_force_pgxp_cpu", ICON_EMOJI_WARNING,
|
Host::AddIconOSDWarning("gamedb_force_pgxp_cpu", ICON_EMOJI_WARNING,
|
||||||
"This game requires PGXP CPU mode, which increases system requirements.\n"
|
"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);
|
Host::OSD_WARNING_DURATION);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue