Skip to content

Commit

Permalink
GOB: Hook up the MDY player in Geisha
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jun 11, 2012
1 parent 8548dea commit a64e8a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion engines/gob/init.h
Expand Up @@ -62,7 +62,6 @@ class Init_Geisha : public Init_v1 {
~Init_Geisha();

void initVideo();
void initGame();
};

class Init_v2 : public Init_v1 {
Expand Down
7 changes: 0 additions & 7 deletions engines/gob/init_geisha.cpp
Expand Up @@ -44,11 +44,4 @@ void Init_Geisha::initVideo() {
_vm->_draw->_transparentCursor = 1;
}

void Init_Geisha::initGame() {
// HACK - Since the MDY/TBR player is not working, claim we have no AdLib
_vm->_global->_soundFlags = 0;

Init::initGame();
}

} // End of namespace Gob
5 changes: 2 additions & 3 deletions engines/gob/inter_geisha.cpp
Expand Up @@ -298,9 +298,8 @@ void Inter_Geisha::oGeisha_loadTitleMusic(OpGobParams &params) {
}

void Inter_Geisha::oGeisha_playMusic(OpGobParams &params) {
// TODO: The MDYPlayer is still broken!
warning("Geisha Stub: oGeisha_playMusic");
// _vm->_sound->adlibPlay();
_vm->_sound->adlibSetRepeating(-1);
_vm->_sound->adlibPlay();
}

void Inter_Geisha::oGeisha_stopMusic(OpGobParams &params) {
Expand Down

0 comments on commit a64e8a6

Please sign in to comment.