aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98
diff options
context:
space:
mode:
authorathrxx2011-05-16 21:56:14 +0200
committerWillem Jan Palenstijn2011-05-17 20:36:32 +0200
commit726a7f3b1aee4abd7c1fe198cbd317664685e21f (patch)
treea21623caa7604930299e5b05d43eb8c6bf6838dd /audio/softsynth/fmtowns_pc98
parentd3e92f0b8105638b8fae45822006aa33bb8ed35a (diff)
downloadscummvm-rg350-726a7f3b1aee4abd7c1fe198cbd317664685e21f.tar.gz
scummvm-rg350-726a7f3b1aee4abd7c1fe198cbd317664685e21f.tar.bz2
scummvm-rg350-726a7f3b1aee4abd7c1fe198cbd317664685e21f.zip
FM-TOWNS AUDIO: Fix GCC warnings
Diffstat (limited to 'audio/softsynth/fmtowns_pc98')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_midi.cpp2
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.cpp b/audio/softsynth/fmtowns_pc98/towns_midi.cpp
index 0743409af9..e66d6bed21 100644
--- a/audio/softsynth/fmtowns_pc98/towns_midi.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_midi.cpp
@@ -18,8 +18,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $URL: $
- * $Id: $
*/
#include "audio/softsynth/fmtowns_pc98/towns_midi.h"
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
index 46ac7e5c14..bc5aa32823 100644
--- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
@@ -928,7 +928,7 @@ bool TownsPC98_FmSynth::init() {
}
void TownsPC98_FmSynth::reset() {
- Common::StackLock lock(_mutex);
+ lock();
for (int i = 0; i < _numChan; i++) {
for (int ii = 0; ii < 4; ii++)
_chanInternal[i].opr[ii]->reset();
@@ -948,6 +948,7 @@ void TownsPC98_FmSynth::reset() {
if (_prc)
_prc->reset();
#endif
+ unlock();
}
void TownsPC98_FmSynth::writeReg(uint8 part, uint8 regAddress, uint8 value) {