X-Git-Url: http://git.osdn.net/view?p=proj16%2F16.git;a=blobdiff_plain;f=src%2Flib%2F16_in.c;h=6dc41edc60295023222f2113750c3c2a06121db4;hp=834e3b3737f1d1a336aaaf879b925de8d1514529;hb=9540760f9429bfe71894c801e85cec95e3887f8c;hpb=5665fb36316d012efc7b7d8af20dd13c0035e758 diff --git a/src/lib/16_in.c b/src/lib/16_in.c index 834e3b37..6dc41edc 100755 --- a/src/lib/16_in.c +++ b/src/lib/16_in.c @@ -1298,9 +1298,9 @@ byte IN_MouseButtons (global_game_variables_t *gvar) =================== */ -byte IN_JoyButtons (void) +word IN_JoyButtons (void) { - byte joybits; + word joybits; joybits = inportb(0x201); // Get all the joystick buttons joybits >>= 4; // only the high bits are useful