mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Set inital room width and height.
Several early HE games check values, before they are set. svn-id: r19092
This commit is contained in:
parent
05d5bc16d2
commit
b7e72737d3
@ -700,6 +700,11 @@ void ScummEngine::initScummVars() {
|
||||
VAR(VAR_V6_EMSSPACE) = 10000;
|
||||
}
|
||||
|
||||
if (VAR_ROOM_WIDTH != 0xFF && VAR_ROOM_HEIGHT != 0xFF) {
|
||||
VAR(VAR_ROOM_WIDTH) = _screenWidth;
|
||||
VAR(VAR_ROOM_HEIGHT) = _screenHeight;
|
||||
}
|
||||
|
||||
if (VAR_FADE_DELAY != 0xFF)
|
||||
VAR(VAR_FADE_DELAY) = 3;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user