aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-27 18:19:16 +0000
committerJohannes Schickel2009-07-27 18:19:16 +0000
commit17fe3ce29e21e2d88830a88941474221c2fc2b98 (patch)
tree77ba1164f023ad74cd575f065420a3966726561e /sound
parentebe6a0ac236058a72e14dfee9d5969cd497e4f1e (diff)
downloadscummvm-rg350-17fe3ce29e21e2d88830a88941474221c2fc2b98.tar.gz
scummvm-rg350-17fe3ce29e21e2d88830a88941474221c2fc2b98.tar.bz2
scummvm-rg350-17fe3ce29e21e2d88830a88941474221c2fc2b98.zip
Oops enabled HACK to prevent multiple OPL instances again.
svn-id: r42849
Diffstat (limited to 'sound')
-rw-r--r--sound/fmopl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/fmopl.h b/sound/fmopl.h
index d0b15368e0..688da4f1ba 100644
--- a/sound/fmopl.h
+++ b/sound/fmopl.h
@@ -94,7 +94,7 @@ private:
// TODO: This is part of a temporary HACK to allow only 1 instance
static bool _hasInstance;
public:
- OPL() { _hasInstance = true; }
+ OPL() { assert(!_hasInstance); _hasInstance = true; }
virtual ~OPL() { _hasInstance = false; }
/**