From 25cb7e5d32df59c7a8613733e73da696ff741880 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 11 Apr 2016 09:39:32 -0500 Subject: [PATCH] wwww --- src/lib/modex16.c | 2 +- src/lib/modex16.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/modex16.c b/src/lib/modex16.c index a2152825..9fd8e840 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -70,7 +70,7 @@ vgaSetMode(byte mode) // Use the bios to get the current video mode // -long/*FIXME: why long? "long" is 32-bit datatype, VGA modes are 8-bit numbers. */ +byte/*FIXME: why long? "long" is 32-bit datatype, VGA modes are 8-bit numbers. */ vgaGetMode() { return int10_getmode(); diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 94a69ad5..3621466f 100755 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -86,7 +86,7 @@ typedef union /* mode switching, page, and plane functions */ void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv); void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv); -long vgaGetMode(); +byte vgaGetMode(); void modexLeave(); void modexsetBaseXMode(); page_t modexDefaultPage(page_t *p); -- 2.39.5