aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wii')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 8c104fb075..621f45cd99 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -546,6 +546,7 @@ void OSystem_Wii::unlockScreen() {
void OSystem_Wii::setShakePos(int shakeXOffset, int shakeYOffset) {
gfx_coords(&_coordsGame, &_texGame, GFX_COORD_FULLSCREEN);
+ _coordsGame.x -= f32(shakeXOffset) * _currentXScale;
_coordsGame.y -= f32(shakeYOffset) * _currentYScale;
}