aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/bios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/bios.c b/core/bios.c
index 343268b3..71a34f8a 100644
--- a/core/bios.c
+++ b/core/bios.c
@@ -422,6 +422,8 @@ static int bios_font_query(uint8_t **font)
/* Get BIOS 8x16 font */
+ memset(&rm, 0, sizeof rm);
+
rm.eax.w[0] = 0x1130; /* Get Font Information */
rm.ebx.w[0] = 0x0600; /* Get 8x16 ROM font */
__intcall(0x10, &rm, &rm);