Cleanup, mostly network threading madness. Statusbar is now created at hard reset, IF the configuration has changed. Other minor things.

This commit is contained in:
waltje
2017-10-29 04:20:20 -05:00
parent f4367133e7
commit bfe038ded9
37 changed files with 506 additions and 600 deletions

View File

@@ -10,7 +10,6 @@
#include "../mem.h"
#include "../device.h"
#include "../nvr.h"
#include "../bugger.h"
#include "../game/gameport.h"
#include "../keyboard_at.h"
#include "../lpt.h"
@@ -37,9 +36,6 @@ machine_at_init(machine_t *model)
if (joystick_type != 7)
device_add(&gameport_device);
if (bugger_enabled)
bugger_init();
}

View File

@@ -8,7 +8,6 @@
#include "../pit.h"
#include "../mem.h"
#include "../device.h"
#include "../bugger.h"
#include "../game/gameport.h"
#include "../keyboard_xt.h"
#include "machine.h"
@@ -17,15 +16,12 @@
void
machine_xt_init(machine_t *model)
{
machine_common_init(model);
machine_common_init(model);
pit_set_out_func(&pit, 1, pit_refresh_timer_xt);
pit_set_out_func(&pit, 1, pit_refresh_timer_xt);
keyboard_xt_init();
nmi_init();
if (joystick_type != 7)
device_add(&gameport_device);
if (bugger_enabled)
bugger_init();
keyboard_xt_init();
nmi_init();
if (joystick_type != 7)
device_add(&gameport_device);
}