aboutsummaryrefslogtreecommitdiff
path: root/gui/theme-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r--gui/theme-config.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index 1f52567e3e..f70696e8d5 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -666,18 +666,6 @@ void Theme::setSpecialAlias(const String &alias, const String &name) {
}
}
-bool Theme::isThemeLoadingRequired() {
- int x = g_system->getOverlayWidth(), y = g_system->getOverlayHeight();
-
- if (_loadedThemeX == x && _loadedThemeY == y)
- return false;
-
- _loadedThemeX = x;
- _loadedThemeY = y;
-
- return true;
-}
-
bool Theme::sectionIsSkipped(Common::ConfigFile &config, const char *name, int w, int h) {
if (!config.hasKey("skipFor", name))
return false;