[Scummvm-cvs-logs] SF.net SVN: scummvm:[42849] scummvm/trunk/sound/fmopl.h
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Jul 27 20:19:16 CEST 2009
Revision: 42849
http://scummvm.svn.sourceforge.net/scummvm/?rev=42849&view=rev
Author: lordhoto
Date: 2009-07-27 18:19:16 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
Oops enabled HACK to prevent multiple OPL instances again.
Modified Paths:
--------------
scummvm/trunk/sound/fmopl.h
Modified: scummvm/trunk/sound/fmopl.h
===================================================================
--- scummvm/trunk/sound/fmopl.h 2009-07-27 18:06:41 UTC (rev 42848)
+++ scummvm/trunk/sound/fmopl.h 2009-07-27 18:19:16 UTC (rev 42849)
@@ -94,7 +94,7 @@
// 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; }
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list