mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
Export the number of players from main
This commit is contained in:
parent
786088e4b1
commit
5d06a6d6a3
3
main.c
3
main.c
@ -541,6 +541,7 @@ void hwinit(void)
|
||||
}
|
||||
|
||||
|
||||
uint8_t num_players = 1;
|
||||
unsigned char current_pad_type[NUM_CHANNELS] = { };
|
||||
|
||||
Gamepad *detectPad(unsigned char chn)
|
||||
@ -661,7 +662,6 @@ int main(void)
|
||||
uint8_t gamepad_vibrate = 0;
|
||||
uint8_t state = STATE_WAIT_POLLTIME;
|
||||
uint8_t channel;
|
||||
uint8_t num_players = 1;
|
||||
uint8_t i;
|
||||
|
||||
hwinit();
|
||||
@ -851,7 +851,6 @@ int keyboard_main(void)
|
||||
uint8_t gamepad_vibrate = 0;
|
||||
uint8_t state = STATE_WAIT_POLLTIME;
|
||||
uint8_t channel;
|
||||
uint8_t num_players = 1;
|
||||
uint8_t i;
|
||||
|
||||
hwinit();
|
||||
|
Loading…
Reference in New Issue
Block a user