mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
Fix the heart beat in Elvira 2
svn-id: r24550
This commit is contained in:
parent
d5f47e2203
commit
847956af40
@ -982,7 +982,8 @@ void AGOSEngine::vc27_resetSprite() {
|
||||
|
||||
vsp = _vgaSprites;
|
||||
while (vsp->id) {
|
||||
if ((getGameType() == GType_SIMON1) && vsp->id == 128) {
|
||||
if ((getGameType() == GType_SIMON1 && vsp->id == 128) ||
|
||||
(getGameType() == GType_ELVIRA2 && vsp->id == 100)) {
|
||||
memcpy(&bak, vsp, sizeof(VgaSprite));
|
||||
}
|
||||
vsp->id = 0;
|
||||
@ -1006,7 +1007,8 @@ void AGOSEngine::vc27_resetSprite() {
|
||||
|
||||
vte = _vgaTimerList;
|
||||
while (vte->delay) {
|
||||
if ((getGameType() == GType_SIMON1) && vte->sprite_id == 128) {
|
||||
if ((getGameType() == GType_SIMON1 && vte->sprite_id == 128) ||
|
||||
(getGameType() == GType_ELVIRA2 && vte->sprite_id == 100)) {
|
||||
vte++;
|
||||
} else {
|
||||
vte2 = vte;
|
||||
|
Loading…
x
Reference in New Issue
Block a user