mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 23:18:44 +00:00
Added a workaround for the casino door in LSL1
svn-id: r45494
This commit is contained in:
parent
2d9d9bca13
commit
8150fc07bc
@ -484,6 +484,13 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
|
||||
|
||||
s->_gui->baseSetter(object);
|
||||
|
||||
// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
|
||||
// till the actual problem is found
|
||||
if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
|
||||
int top = GET_SEL32V(s->_segMan, object, brTop);
|
||||
PUT_SEL32V(s->_segMan, object, brTop, top + 2);
|
||||
}
|
||||
|
||||
return s->r_acc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user