aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-03-12 00:46:54 +0000
committerMax Horn2010-03-12 00:46:54 +0000
commitd3c29a62ae185bc8e16e0f227899b374bbe5784b (patch)
tree76124bc9fd585d0b19721c8b6dca8a212b2ab5a5
parent8f560e5aaf779b754a32d35840930d4c3f736c13 (diff)
downloadscummvm-rg350-d3c29a62ae185bc8e16e0f227899b374bbe5784b.tar.gz
scummvm-rg350-d3c29a62ae185bc8e16e0f227899b374bbe5784b.tar.bz2
scummvm-rg350-d3c29a62ae185bc8e16e0f227899b374bbe5784b.zip
GP2X: Try to fix compile error
svn-id: r48243
-rw-r--r--backends/platform/gp2x/gp2x-common.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h
index 748d80ba1c..4199a5d032 100644
--- a/backends/platform/gp2x/gp2x-common.h
+++ b/backends/platform/gp2x/gp2x-common.h
@@ -399,10 +399,7 @@ protected:
bool saveScreenshot(const char *filename);
- int effectiveScreenHeight() const {
- return (_videoMode.aspectRatioCorrection ? real2Aspect(_videoMode.screenHeight) : _videoMode.screenHeight)
- * _videoMode.scaleFactor;
- }
+ int effectiveScreenHeight() const;
void setupIcon();
void handleKbdMouse();