mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
The cached gamelist background is now updated when using the metadata editor.
This commit is contained in:
parent
98d38b3b46
commit
d787f06c63
|
@ -386,6 +386,9 @@ void GuiMetaDataEd::save()
|
|||
}
|
||||
|
||||
mScraperParams.system->onMetaDataSavePoint();
|
||||
// Make sure that the cached background is updated to reflect any possible visible
|
||||
// changes to the gamelist (e.g. the game name).
|
||||
mWindow->invalidateCachedBackground();
|
||||
}
|
||||
|
||||
void GuiMetaDataEd::fetch()
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
// Window management, screensaver and help prompts.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#ifndef ES_CORE_WINDOW_H
|
||||
#define ES_CORE_WInDOW_H
|
||||
#define ES_CORE_WINDOW_H
|
||||
|
||||
#include "resources/TextureResource.h"
|
||||
#include "HelpPrompt.h"
|
||||
|
@ -92,6 +91,8 @@ public:
|
|||
void unsetLaunchedGame();
|
||||
bool getGameLaunchedState() { return mGameLaunchedState; };
|
||||
|
||||
void invalidateCachedBackground() { mCachedBackground = false; };
|
||||
|
||||
private:
|
||||
void onSleep();
|
||||
void onWake();
|
||||
|
|
Loading…
Reference in a new issue