aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorsluicebox2019-11-16 03:15:11 -0800
committerEugene Sandulenko2019-11-19 00:20:40 +0100
commit04372d156072973fa5ad62833a9fe6aa027faca5 (patch)
tree908d0da5732285cdfdf1dc81ca6f2efff1a09e6f /backends/platform/psp
parent0328689099a71b79cd53b639fe8b578f38870ee8 (diff)
downloadscummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.tar.gz
scummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.tar.bz2
scummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.zip
PSP: Implement horizontal shake
Diffstat (limited to 'backends/platform/psp')
-rw-r--r--backends/platform/psp/default_display_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/psp/default_display_client.cpp b/backends/platform/psp/default_display_client.cpp
index 91183a2238..cc6c17d7ec 100644
--- a/backends/platform/psp/default_display_client.cpp
+++ b/backends/platform/psp/default_display_client.cpp
@@ -160,7 +160,7 @@ void Screen::init() {
void Screen::setShakePos(int shakeXOffset, int shakeYOffset) {
_shakeXOffset = shakeXOffset;
_shakeYOffset = shakeYOffset;
- _renderer.setOffsetOnScreen(0, shakeYOffset);
+ _renderer.setOffsetOnScreen(shakeXOffset, shakeYOffset);
setDirty();
}