aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/mads.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-16 23:04:02 -0500
committerPaul Gilbert2014-02-16 23:04:02 -0500
commitece3e9a2200052cc65f60e0295b674095d7a6a66 (patch)
tree024f23a5d25edba49e4be59ec76e611e6d063b12 /engines/mads/mads.cpp
parent409f51cb99bcd9e1024e57b250d70327f61e6d15 (diff)
downloadscummvm-rg350-ece3e9a2200052cc65f60e0295b674095d7a6a66.tar.gz
scummvm-rg350-ece3e9a2200052cc65f60e0295b674095d7a6a66.tar.bz2
scummvm-rg350-ece3e9a2200052cc65f60e0295b674095d7a6a66.zip
MADS: Booyah! Copy protection failure air escaping sound playing
Diffstat (limited to 'engines/mads/mads.cpp')
-rw-r--r--engines/mads/mads.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index 39ef195cd6..25730fa9e4 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -45,8 +45,6 @@ void MADSEngine::initialise() {
_soundManager.setVm(this, _mixer);
}
-static uint32 lastSoundFrame = 0;
-
Common::Error MADSEngine::run() {
initGraphics(320, 200, false);
initialise();
@@ -56,12 +54,6 @@ Common::Error MADSEngine::run() {
while (!shouldQuit()) {
g_system->getEventManager()->pollEvent(e);
g_system->delayMillis(10);
-
- uint32 milli = g_system->getMillis();
- if (milli > (lastSoundFrame + 50)) {
- lastSoundFrame = milli;
- _soundManager.poll();
- }
}
return Common::kNoError;