mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed an issue where reloading using Ctrl+r would sometimes not update modified image files.
This commit is contained in:
parent
899ace3eb6
commit
0dfdf1c20c
|
@ -94,6 +94,7 @@ bool SystemView::input(InputConfig* config, Input input)
|
||||||
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
|
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
|
||||||
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
|
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
|
||||||
LOG(LogDebug) << "SystemView::input(): Reloading all";
|
LOG(LogDebug) << "SystemView::input(): Reloading all";
|
||||||
|
TextureResource::manualUnloadAll();
|
||||||
ViewController::getInstance()->reloadAll();
|
ViewController::getInstance()->reloadAll();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue