diff options
author | Oystein Eftevaag | 2010-08-26 23:13:17 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2010-08-26 23:13:17 +0000 |
commit | 98400327c3d2e497bba04f22dd096fcca4eeb255 (patch) | |
tree | d6eee60ec7ffa00b03322b1ff3b134fed59feeb0 /engines/hugo/util.cpp | |
parent | 09f42e24eb6b4d31f4f0e89dca815b19bafbbcb9 (diff) | |
download | scummvm-rg350-98400327c3d2e497bba04f22dd096fcca4eeb255.tar.gz scummvm-rg350-98400327c3d2e497bba04f22dd096fcca4eeb255.tar.bz2 scummvm-rg350-98400327c3d2e497bba04f22dd096fcca4eeb255.zip |
HUGO: Implemented basic MIDI support.
svn-id: r52403
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r-- | engines/hugo/util.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp index da917a802e..fb3da9df88 100644 --- a/engines/hugo/util.cpp +++ b/engines/hugo/util.cpp @@ -114,12 +114,8 @@ void Utils::Warn(bool technote, const char *format, ...) { /* Arguments are same as printf */ /* technote TRUE if we are to refer user to technote file */ char buffer[WARNLEN]; - bool soundFl = _config.soundFl; va_list marker; - _config.soundFl = false; // Kill sound to allow beep sound - HugoEngine::get().sound().initSound(RESET); - va_start(marker, format); vsnprintf(buffer, WARNLEN, format, marker); va_end(marker); @@ -128,11 +124,6 @@ void Utils::Warn(bool technote, const char *format, ...) { //MessageBeep(MB_ICONEXCLAMATION); //MessageBox(hwnd, buffer, "HugoWin Warning", MB_OK | MB_ICONEXCLAMATION); warning("Hugo warning: %s", buffer); - - //sndPlaySound(NULL, 0); // Stop beep and restore sound - - _config.soundFl = soundFl; - HugoEngine::get().sound().initSound(RESET); } void Utils::Error(int error_type, const char *format, ...) { |