diff options
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/mt32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/mt32.cpp b/backends/midi/mt32.cpp index 5ca857529c..8bf3807603 100644 --- a/backends/midi/mt32.cpp +++ b/backends/midi/mt32.cpp @@ -113,7 +113,7 @@ public: static int eatSystemEvents() { OSystem::Event event; while (g_system->pollEvent(event)) { - switch (event.event_code) { + switch (event.type) { case OSystem::EVENT_QUIT: return 1; default: |