PSP: Implement horizontal shake

This commit is contained in:
sluicebox 2019-11-16 03:15:11 -08:00 committed by Eugene Sandulenko
parent 0328689099
commit 04372d1560

View File

@ -160,7 +160,7 @@ void Screen::init() {
void Screen::setShakePos(int shakeXOffset, int shakeYOffset) { void Screen::setShakePos(int shakeXOffset, int shakeYOffset) {
_shakeXOffset = shakeXOffset; _shakeXOffset = shakeXOffset;
_shakeYOffset = shakeYOffset; _shakeYOffset = shakeYOffset;
_renderer.setOffsetOnScreen(0, shakeYOffset); _renderer.setOffsetOnScreen(shakeXOffset, shakeYOffset);
setDirty(); setDirty();
} }