Deal with many magic numbers in gameport.c

This commit is contained in:
Jasmine Iwanek
2024-11-24 00:53:09 -05:00
parent 11282b1202
commit db34cc06b9
2 changed files with 17 additions and 14 deletions

View File

@@ -45,6 +45,9 @@
#define JOYSTICK_PRESENT(n) (joystick_state[n].plat_joystick_nr != 0)
#define GAMEPORT_1ADDR 0x010000
#define GAMEPORT_6ADDR 0x060000
#define GAMEPORT_8ADDR 0x080000
#define GAMEPORT_SIO 0x1000000
typedef struct plat_joystick_t {