mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer. Needed for later config refactorings, good to get in early.
This commit is contained in:
1 parent
07b8b6f35a
commit
ee6234ecb6
65 files changed
+535
-516
No files matched your search
@@ -511,7 +511,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
|
||||
// TODO: We should stall the GPU here and wipe things out of memory.
|
||||
// As is, it will almost definitely fail the second time, but next frame it may recover.
|
||||
|
||||
auto err = GetI18NCategory("Error");
|
||||
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);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user