mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Handle clear gpu cache as a global message.
This makes it so if you change texture scaling in the Windows menu on the pause menu, it actually clears the cache.
This commit is contained in:
1 parent
ff66fe7f89
commit
6bbb3c0442
2 files changed
+12
-10
No files matched your search
@@ -338,13 +338,6 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
UpdateUIState(UISTATE_MENU);
|
||||
releaseButtons();
|
||||
screenManager()->push(new GameSettingsScreen(gamePath_));
|
||||
} else if (!strcmp(message, "gpu resized") || !strcmp(message, "gpu clear cache")) {
|
||||
if (gpu) {
|
||||
gpu->ClearCacheNextFrame();
|
||||
gpu->Resized();
|
||||
}
|
||||
Reporting::UpdateConfig();
|
||||
RecreateViews();
|
||||
} else if (!strcmp(message, "gpu dump next frame")) {
|
||||
if (gpu)
|
||||
gpu->DumpNextFrame();
|
||||
|
||||
Reference in new issue
Block a user