mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
TINSEL: Fix class initialization
This commit is contained in:
parent
9131976ff4
commit
4dc60b525d
@ -401,7 +401,7 @@ MidiMusicPlayer::MidiMusicPlayer(TinselEngine *vm) {
|
||||
if (milesAudioEnabled) {
|
||||
// Discworld 1 (DOS) uses Miles Audio 3
|
||||
// use our own Miles Audio drivers
|
||||
//
|
||||
//
|
||||
// It seems that there are multiple versions of Discworld 1
|
||||
//
|
||||
// Version 1:
|
||||
@ -639,10 +639,14 @@ PCMMusicPlayer::PCMMusicPlayer() {
|
||||
_dimmed = false;
|
||||
_dimmedTinsel = false;
|
||||
_dimIteration = 0;
|
||||
_dimmedVolume = 0;
|
||||
_dimPosition = 0;
|
||||
|
||||
_fadeOutVolume = 0;
|
||||
_fadeOutIteration = 0;
|
||||
|
||||
_hScript = _hSegment = 0;
|
||||
|
||||
_end = true;
|
||||
|
||||
_vm->_mixer->playStream(Audio::Mixer::kMusicSoundType,
|
||||
|
@ -823,6 +823,9 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc)
|
||||
_console(0), _sound(0), _midiMusic(0), _pcmMusic(0), _bmv(0) {
|
||||
_vm = this;
|
||||
|
||||
_gameId = 0;
|
||||
_driver = NULL;
|
||||
|
||||
_config = new Config(this);
|
||||
|
||||
// Register debug flags
|
||||
|
Loading…
x
Reference in New Issue
Block a user