Major changes to NVR, system initialization (pc.c), and what goes on in the Windows startup (win.c.) Not fully done yet, but good enough for a first commit.
This commit is contained in:
@@ -164,7 +164,7 @@ void gameport_timer_over(void *p)
|
||||
gameport->joystick->a0_over(gameport->joystick_dat);
|
||||
}
|
||||
|
||||
void *gameport_init_common()
|
||||
void *gameport_init_common(void)
|
||||
{
|
||||
gameport_t *gameport = malloc(sizeof(gameport_t));
|
||||
|
||||
@@ -193,7 +193,7 @@ void *gameport_init_common()
|
||||
return gameport;
|
||||
}
|
||||
|
||||
void gameport_update_joystick_type()
|
||||
void gameport_update_joystick_type(void)
|
||||
{
|
||||
gameport_t *gameport = gameport_global;
|
||||
|
||||
@@ -205,7 +205,7 @@ void gameport_update_joystick_type()
|
||||
}
|
||||
}
|
||||
|
||||
void *gameport_init()
|
||||
void *gameport_init(device_t *info)
|
||||
{
|
||||
gameport_t *gameport = NULL;
|
||||
|
||||
@@ -222,7 +222,7 @@ void *gameport_init()
|
||||
return gameport;
|
||||
}
|
||||
|
||||
void *gameport_201_init()
|
||||
void *gameport_201_init(device_t *info)
|
||||
{
|
||||
gameport_t *gameport;
|
||||
|
||||
@@ -258,23 +258,19 @@ void gameport_close(void *p)
|
||||
device_t gameport_device =
|
||||
{
|
||||
"Game port",
|
||||
0,
|
||||
0, 0,
|
||||
gameport_init,
|
||||
gameport_close,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
device_t gameport_201_device =
|
||||
{
|
||||
"Game port (port 201h only)",
|
||||
0,
|
||||
0, 0,
|
||||
gameport_201_init,
|
||||
gameport_close,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user