aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/midi.cpp4
-rw-r--r--simon/simon.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp
index 2227d7a03c..d4ee8ddf49 100644
--- a/simon/midi.cpp
+++ b/simon/midi.cpp
@@ -92,12 +92,12 @@ int MidiPlayer::open() {
void MidiPlayer::close() {
stop();
- _system->lock_mutex (_mutex);
+// _system->lock_mutex (_mutex);
if (_driver)
_driver->close();
_driver = NULL;
clearConstructs();
- _system->unlock_mutex (_mutex);
+// _system->unlock_mutex (_mutex);
}
void MidiPlayer::send (uint32 b) {
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 49cdf39077..2e7bfefbb9 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4544,6 +4544,7 @@ void SimonEngine::delay(uint amount) {
case OSystem::EVENT_QUIT:
shutdown();
+ return;
break;
default: