mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
PSP: Implement horizontal shake
This commit is contained in:
parent
0328689099
commit
04372d1560
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user