aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
authorMax Horn2010-03-08 10:29:00 +0000
committerMax Horn2010-03-08 10:29:00 +0000
commit28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63 (patch)
treee76ab0466cd13402b343b63ed814bc38d0774717 /backends/platform/gp2x
parent9fb27a26f86dcf888cb26cc1b4622c5a10de3fb5 (diff)
downloadscummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.tar.gz
scummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.tar.bz2
scummvm-rg350-28c6c600d45b4ce16f13d08cfc7c9fbcc8461a63.zip
Move some aspect ratio related stuff to graphics/scaler/aspect.h
svn-id: r48186
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r--backends/platform/gp2x/events.cpp1
-rw-r--r--backends/platform/gp2x/graphics.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/gp2x/events.cpp b/backends/platform/gp2x/events.cpp
index e0117e9313..496e045ab0 100644
--- a/backends/platform/gp2x/events.cpp
+++ b/backends/platform/gp2x/events.cpp
@@ -33,6 +33,7 @@
#include "backends/keymapper/keymapper.h"
#include "common/util.h"
#include "common/events.h"
+#include "graphics/scaler/aspect.h" // for aspect2Real
// FIXME move joystick defines out and replace with confile file options
// we should really allow users to map any key to a joystick button using the keymapper.
diff --git a/backends/platform/gp2x/graphics.cpp b/backends/platform/gp2x/graphics.cpp
index 27732007bc..cae596b9ff 100644
--- a/backends/platform/gp2x/graphics.cpp
+++ b/backends/platform/gp2x/graphics.cpp
@@ -34,6 +34,7 @@
#include "graphics/font.h"
#include "graphics/fontman.h"
#include "graphics/scaler.h"
+#include "graphics/scaler/aspect.h"
#include "graphics/surface.h"
static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {