diff options
author | sluicebox | 2019-11-16 03:15:11 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-19 00:20:40 +0100 |
commit | 04372d156072973fa5ad62833a9fe6aa027faca5 (patch) | |
tree | 908d0da5732285cdfdf1dc81ca6f2efff1a09e6f /backends | |
parent | 0328689099a71b79cd53b639fe8b578f38870ee8 (diff) | |
download | scummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.tar.gz scummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.tar.bz2 scummvm-rg350-04372d156072973fa5ad62833a9fe6aa027faca5.zip |
PSP: Implement horizontal shake
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/psp/default_display_client.cpp | 2 |
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(); } |