aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 6c8d6108a4..a11adb4134 100644
--- a/common/system.h
+++ b/common/system.h
@@ -356,6 +356,13 @@ public:
*/
virtual int getGraphicsMode() const = 0;
+ /**
+ * Sets the graphics scale factor to x1. Games with large screen sizes
+ * reset the scale to x1 so the screen will not be too big when starting
+ * the game.
+ */
+ virtual void resetGraphicsScale() = 0;
+
#ifdef USE_RGB_COLOR
/**
* Determine the pixel format currently in use for screen rendering.