diff options
author | athrxx | 2011-11-06 17:53:52 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:15 +0100 |
commit | 816b40ebf8c653f4c3f898ae4697ea85f5fe015f (patch) | |
tree | 4df3e6b89eee4770b70dbcf967359b92dfdb7f78 /engines/kyra/scene_eob.cpp | |
parent | 2448d885e4e331a22e1e468277142155a5ddda87 (diff) | |
download | scummvm-rg350-816b40ebf8c653f4c3f898ae4697ea85f5fe015f.tar.gz scummvm-rg350-816b40ebf8c653f4c3f898ae4697ea85f5fe015f.tar.bz2 scummvm-rg350-816b40ebf8c653f4c3f898ae4697ea85f5fe015f.zip |
KYRA: (EOB) - add debugger, etc.
- add basic debugger support
- fix several minor bugs
Diffstat (limited to 'engines/kyra/scene_eob.cpp')
-rw-r--r-- | engines/kyra/scene_eob.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/kyra/scene_eob.cpp b/engines/kyra/scene_eob.cpp index 5f06139f3f..cf20429e2c 100644 --- a/engines/kyra/scene_eob.cpp +++ b/engines/kyra/scene_eob.cpp @@ -708,8 +708,6 @@ Common::String EobCoreEngine::initLevelData(int sub){ int slen = (_flags.gameID == GI_EOB1) ? 12 : 13; - _sound->playTrack(0); - for (int i = 0; i < sub; i++) pos = data + READ_LE_UINT16(pos); @@ -762,7 +760,7 @@ Common::String EobCoreEngine::initLevelData(int sub){ } if (_flags.gameID == GI_EOB2) { - delay(_tickLength); + delay(3 * _tickLength); _sound->loadSoundFile((const char*) pos); pos += 13; } @@ -1029,10 +1027,8 @@ void EobCoreEngine::drawScene(int refresh) { } } - if (_sceneDefaultUpdate) { + if (_sceneDefaultUpdate) delayUntil(_drawSceneTimer); - removeInputTop(); - } if (refresh && !_partyResting) _screen->copyRegion(0, 0, 0, 0, 176, 120, 2, 0, Screen::CR_NO_P_CHECK); |