mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
Muddled ifs
svn-id: r17373
This commit is contained in:
parent
f230fe65e8
commit
74c124628a
@ -805,7 +805,7 @@ protected:
|
||||
void o72_captureWizImage();
|
||||
void o72_getTimer();
|
||||
void o72_setTimer();
|
||||
void o72_getSoundElapsedTimeOfSound();
|
||||
void o72_getSoundElapsedTime();
|
||||
void o72_startScript();
|
||||
void o72_startObject();
|
||||
void o72_drawObject();
|
||||
|
@ -153,7 +153,7 @@ void ScummEngine_v80he::setupOpcodes() {
|
||||
/* 58 */
|
||||
OPCODE(o72_getTimer),
|
||||
OPCODE(o72_setTimer),
|
||||
OPCODE(o72_getSoundElapsedTimeOfSound),
|
||||
OPCODE(o72_getSoundElapsedTime),
|
||||
OPCODE(o6_wordArrayDec),
|
||||
/* 5C */
|
||||
OPCODE(o6_if),
|
||||
|
@ -792,9 +792,9 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, SoundHandle *handl
|
||||
void Sound::stopTalkSound() {
|
||||
if (_sfxMode & 2) {
|
||||
if (_vm->_imuseDigital) {
|
||||
_vm->_mixer->stopID(kTalkSoundID);
|
||||
_vm->_imuseDigital->stopSound(kTalkSoundID);
|
||||
} else if (_vm->_heversion >= 70) {
|
||||
_vm->_imuseDigital->stopSound(1);
|
||||
_vm->_mixer->stopID(1);
|
||||
} else {
|
||||
_vm->_mixer->stopHandle(_talkChannelHandle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user