mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 10:49:05 +02:00
Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790
This commit is contained in:
1 parent
f9555da05b
commit
4a3692161b
7 files changed
+42
-13
No files matched your search
@@ -167,11 +167,16 @@ namespace MainWindow {
|
||||
}
|
||||
|
||||
bool CreateShadersSubmenu(HMENU menu) {
|
||||
// NOTE: We do not load this until translations are loaded!
|
||||
if (!I18NCategoryLoaded("PostShaders"))
|
||||
return false;
|
||||
|
||||
// We only reload this initially and when a menu is actually opened.
|
||||
if (!menuShaderInfoLoaded) {
|
||||
ReloadAllPostShaderInfo();
|
||||
menuShaderInfoLoaded = true;
|
||||
}
|
||||
|
||||
std::vector<ShaderInfo> info = GetAllPostShaderInfo();
|
||||
|
||||
if (menuShaderInfo.size() == info.size() && std::equal(info.begin(), info.end(), menuShaderInfo.begin())) {
|
||||
|
||||
Reference in new issue
Block a user