From: sparky4 Date: Mon, 11 Apr 2016 14:39:32 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=25cb7e5d32df59c7a8613733e73da696ff741880;p=16.git wwww --- 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);