mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #9044 from unknownbrackets/powersave
Tweak wording to clarify battery save message
This commit is contained in:
commit
fef8847a58
2 files changed
+8
No files matched your search
@@ -244,7 +244,11 @@ void EmuScreen::bootComplete() {
|
||||
|
||||
if (Core_GetPowerSaving()) {
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
#ifdef ANDROID
|
||||
osm.Show(sy->T("WARNING: Android battery save mode is on"), 2.0f, 0xFFFFFF, -1, true, "core_powerSaving");
|
||||
#else
|
||||
osm.Show(sy->T("WARNING: Battery save mode is on"), 2.0f, 0xFFFFFF, -1, true, "core_powerSaving");
|
||||
#endif
|
||||
}
|
||||
|
||||
System_SendMessage("event", "startgame");
|
||||
|
||||
@@ -794,7 +794,11 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
if (msg == "core_powerSaving") {
|
||||
if (value != "false") {
|
||||
I18NCategory *sy = GetI18NCategory("System");
|
||||
#ifdef ANDROID
|
||||
osm.Show(sy->T("WARNING: Android battery save mode is on"), 2.0f, 0xFFFFFF, -1, true, "core_powerSaving");
|
||||
#else
|
||||
osm.Show(sy->T("WARNING: Battery save mode is on"), 2.0f, 0xFFFFFF, -1, true, "core_powerSaving");
|
||||
#endif
|
||||
}
|
||||
|
||||
Core_SetPowerSaving(value != "false");
|
||||
|
||||
Reference in new issue
Block a user