From 04372d156072973fa5ad62833a9fe6aa027faca5 Mon Sep 17 00:00:00 2001 From: sluicebox <22204938+sluicebox@users.noreply.github.com> Date: Sat, 16 Nov 2019 03:15:11 -0800 Subject: [PATCH] PSP: Implement horizontal shake --- backends/platform/psp/default_display_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/platform/psp/default_display_client.cpp b/backends/platform/psp/default_display_client.cpp index 91183a2238e..cc6c17d7eca 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(); }