mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 22:23:54 +00:00
Add minor code differences in FF, might help corrupt graphics
svn-id: r22033
This commit is contained in:
parent
0a71cc8377
commit
75542e0f95
@ -2227,8 +2227,10 @@ void SimonEngine::checkNoOverWrite(byte *end) {
|
||||
|
||||
void SimonEngine::checkRunningAnims(byte *end) {
|
||||
VgaSprite *vsp;
|
||||
if (_lockWord & 0x20)
|
||||
if ((getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) &&
|
||||
(_lockWord & 0x20)) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (vsp = _vgaSprites; vsp->id; vsp++) {
|
||||
checkAnims(vsp->zoneNum, end);
|
||||
@ -2276,8 +2278,10 @@ void SimonEngine::set_video_mode_internal(uint mode, uint vga_res_id) {
|
||||
_windowNum = mode;
|
||||
_lockWord |= 0x20;
|
||||
|
||||
if (getGameType() == GType_FF)
|
||||
if (getGameType() == GType_FF) {
|
||||
vc27_resetSprite();
|
||||
vga_res_id &= 0xFFFF;
|
||||
}
|
||||
|
||||
if (vga_res_id == 0) {
|
||||
if (getGameType() == GType_SIMON1) {
|
||||
|
Loading…
Reference in New Issue
Block a user