mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
This commit is contained in:
1 parent
d6552a7673
commit
7cc8c6cea4
30 files changed
+204
-179
No files matched your search
@@ -150,9 +150,9 @@ void TextureCacheGLES::StartFrame() {
|
||||
|
||||
auto err = GetI18NCategory(I18NCat::ERRORS);
|
||||
if (standardScaleFactor_ > 1) {
|
||||
System_NotifyUserMessage(err->T("Warning: Video memory FULL, reducing upscaling and switching to slow caching mode"), 2.0f);
|
||||
g_OSD.Show(OSDType::MESSAGE_WARNING, err->T("Warning: Video memory FULL, reducing upscaling and switching to slow caching mode"), 2.0f);
|
||||
} else {
|
||||
System_NotifyUserMessage(err->T("Warning: Video memory FULL, switching to slow caching mode"), 2.0f);
|
||||
g_OSD.Show(OSDType::MESSAGE_WARNING, err->T("Warning: Video memory FULL, switching to slow caching mode"), 2.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user