diff options
author | Johannes Schickel | 2009-07-27 18:19:16 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-07-27 18:19:16 +0000 |
commit | 17fe3ce29e21e2d88830a88941474221c2fc2b98 (patch) | |
tree | 77ba1164f023ad74cd575f065420a3966726561e /sound/fmopl.h | |
parent | ebe6a0ac236058a72e14dfee9d5969cd497e4f1e (diff) | |
download | scummvm-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/fmopl.h')
-rw-r--r-- | sound/fmopl.h | 2 |
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; } /** |