aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/midi/mt32.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/midi/mt32.cpp b/backends/midi/mt32.cpp
index 921141d4ea..799da75157 100644
--- a/backends/midi/mt32.cpp
+++ b/backends/midi/mt32.cpp
@@ -116,6 +116,8 @@ static int eatSystemEvents() {
switch (event.event_code) {
case OSystem::EVENT_QUIT:
return 1;
+ default:
+ break;
}
}
return 0;
@@ -126,7 +128,7 @@ static void drawProgress(float progress) {
uint32 borderColor = 0x2;
uint32 fillColor = 0x4;
surf.w = g_system->getWidth() / 7 * 5;
- surf.h = Graphics::g_sysfont.getFontHeight();
+ surf.h = Graphics::g_scummfont.getFontHeight();
int x = g_system->getWidth() / 7;
int y = g_system->getHeight() / 2 - surf.h / 2;
surf.pitch = surf.w;