aboutsummaryrefslogtreecommitdiffstats
path: root/core/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/font.c')
-rw-r--r--core/font.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/font.c b/core/font.c
index a0f73332..1e4e606d 100644
--- a/core/font.c
+++ b/core/font.c
@@ -18,6 +18,7 @@
*
*/
+#include <syslinux/firmware.h>
#include <sys/io.h>
#include <stdio.h>
#include <fs.h>
@@ -174,9 +175,15 @@ void bios_adjust_screen(void)
VidCols = --cols; /* Store count-1 (same as rows) */
}
+void adjust_screen(void)
+{
+ if (firmware->adjust_screen)
+ firmware->adjust_screen();
+}
+
void pm_adjust_screen(com32sys_t *regs __unused)
{
- bios_adjust_screen();
+ adjust_screen();
}
void pm_userfont(com32sys_t *regs)