aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem_gfx.cpp
diff options
context:
space:
mode:
authorAndre Heider2009-03-20 19:02:32 +0000
committerAndre Heider2009-03-20 19:02:32 +0000
commit317de0f4847c912a405e318368331f86f1e0f0cd (patch)
tree7060dd8a1b3db2813953b1e91106c6639a643ad5 /backends/platform/wii/osystem_gfx.cpp
parent40e55d25931a090bab6665547f05e94bf068998b (diff)
downloadscummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.tar.gz
scummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.tar.bz2
scummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.zip
Fix some warnings in the Wii backend.
svn-id: r39570
Diffstat (limited to 'backends/platform/wii/osystem_gfx.cpp')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 5a849d10ab..4454acb318 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -128,7 +128,7 @@ bool OSystem_Wii::setGraphicsMode(int mode) {
#ifndef GAMECUBE
if (CONF_GetAspectRatio() && !_fullscreen)
- xar /= 1.33f;
+ xar = s16(float(xar) / 1.33f);
#endif
GX_SetCamPosZ(400 - mode * 10);