mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +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
@@ -513,9 +513,9 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
|
||||
|
||||
auto err = GetI18NCategory(I18NCat::ERRORS);
|
||||
if (plan.scaleFactor > 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);
|
||||
}
|
||||
|
||||
// Turn off texture replacement for this texture.
|
||||
|
||||
Reference in new issue
Block a user