mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
DREAMWEB: Cleaning in 'doshake'
This commit is contained in:
parent
efd8c41d35
commit
b089f084af
@ -154,11 +154,10 @@ void DreamGenContext::frameoutfx(uint8 *dst, const uint8 *src, uint16 pitch, uin
|
||||
|
||||
void DreamGenContext::doshake() {
|
||||
uint8 &counter = data.byte(kShakecounter);
|
||||
_cmp(counter, 48);
|
||||
if (flags.z())
|
||||
if (counter == 48)
|
||||
return;
|
||||
|
||||
_add(counter, 1);
|
||||
++counter;
|
||||
static const int shakeTable[] = {
|
||||
0, -2, 3, -2, 0, 2, 4, -1,
|
||||
1, -3, 3, 2, 0, -2, 3, -2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user