mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 04:07:05 +00:00
Kind of hack that seems to synchronize loom's cutscenes + remove these damned ^M (time to configure my CVS properly I guess ...)
svn-id: r3885
This commit is contained in:
parent
37116811cc
commit
facec50a49
@ -2488,7 +2488,6 @@ void Scumm::decodeParseString() {
|
||||
else
|
||||
offset = 0;
|
||||
delay = (int)((getVarOrDirectWord(0x40) & 0xffff) * 7.5);
|
||||
|
||||
if (_gameId == GID_LOOM256)
|
||||
cd_play(this, 1, 0, offset, delay);
|
||||
else
|
||||
|
15
scummvm.cpp
15
scummvm.cpp
@ -187,8 +187,7 @@ void Scumm::checkRange(int max, int min, int no, const char *str) {
|
||||
}
|
||||
|
||||
int Scumm::scummLoop(int delta) {
|
||||
|
||||
|
||||
static int counter=0;
|
||||
|
||||
#ifndef _WIN32_WCE
|
||||
|
||||
@ -228,8 +227,16 @@ int Scumm::scummLoop(int delta) {
|
||||
_vars[VAR_MOUSE_Y] = mouse.y;
|
||||
_vars[VAR_DEBUGMODE] = _debugMode;
|
||||
|
||||
if (_features & GF_AUDIOTRACKS)
|
||||
_vars[VAR_MI1_TIMER]+=5;
|
||||
if (_features & GF_AUDIOTRACKS) {
|
||||
if (delta) {
|
||||
if (++counter != 2)
|
||||
_vars[VAR_MI1_TIMER]+=5;
|
||||
else {
|
||||
counter = 0;
|
||||
_vars[VAR_MI1_TIMER]+=6;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
if(_features & GF_OLD256)
|
||||
_vars[VAR_MUSIC_FLAG]++; // ENDERFIX
|
||||
|
Loading…
Reference in New Issue
Block a user