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:
parent
ff66fe7f89
commit
6bbb3c0442
2 changed files with 12 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue