aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto
diff options
context:
space:
mode:
authorAndre Heider2009-09-27 17:18:30 +0000
committerAndre Heider2009-09-27 17:18:30 +0000
commit8b6b3358c8cab75cd693fb3a3abc16990c5850b5 (patch)
tree4b76604830f45cb4ee84c5c1f9b788a8ceb7fbfe /backends/platform/linuxmoto
parent8c8b996f56fc52f468fd14307d6ebf6dcdc7969c (diff)
downloadscummvm-rg350-8b6b3358c8cab75cd693fb3a3abc16990c5850b5.tar.gz
scummvm-rg350-8b6b3358c8cab75cd693fb3a3abc16990c5850b5.tar.bz2
scummvm-rg350-8b6b3358c8cab75cd693fb3a3abc16990c5850b5.zip
Properly return values on functions with non-void return types.
svn-id: r44412
Diffstat (limited to 'backends/platform/linuxmoto')
-rw-r--r--backends/platform/linuxmoto/hardwarekeys.cpp2
-rw-r--r--backends/platform/linuxmoto/linuxmoto-graphics.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/linuxmoto/hardwarekeys.cpp b/backends/platform/linuxmoto/hardwarekeys.cpp
index 80b91d7616..a3fdd68c7f 100644
--- a/backends/platform/linuxmoto/hardwarekeys.cpp
+++ b/backends/platform/linuxmoto/hardwarekeys.cpp
@@ -113,5 +113,5 @@ static const Mod modifiers[] = {
Common::HardwareKeySet *OSystem_LINUXMOTO::getHardwareKeySet() {
- OSystem_SDL::getHardwareKeySet();
+ return OSystem_SDL::getHardwareKeySet();
}
diff --git a/backends/platform/linuxmoto/linuxmoto-graphics.cpp b/backends/platform/linuxmoto/linuxmoto-graphics.cpp
index 77b7ea9914..e74cb8dbf3 100644
--- a/backends/platform/linuxmoto/linuxmoto-graphics.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-graphics.cpp
@@ -162,7 +162,7 @@ bool OSystem_LINUXMOTO::loadGFXMode() {
_videoMode.hardwareHeight = effectiveScreenHeight();
}
- OSystem_SDL::loadGFXMode();
+ return OSystem_SDL::loadGFXMode();
}
void OSystem_LINUXMOTO::drawMouse() {