From 01c42ddd629877c4f8271b2133dca909f3ff7349 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 25 Jun 2020 23:10:29 +0200 Subject: [PATCH] Cleanup. --- src/machine/m_ps1.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/machine/m_ps1.c b/src/machine/m_ps1.c index 094682636..52ac3a523 100644 --- a/src/machine/m_ps1.c +++ b/src/machine/m_ps1.c @@ -569,18 +569,16 @@ machine_ps1_m2133_init(const machine_t *model) if (bios_only || !ret) return ret; - machine_at_common_init(model); + ps1_common_init(model); + device_add(&fdc_at_device); + device_add(&ide_isa_device); + device_add(&vl82c480_device); + + nmi_mask = 0x80; if (gfxcard == VID_INTERNAL) device_add(&gd5426_onboard_device); - device_add(&vl82c480_device); - device_add(&keyboard_at_device); - device_add(&fdc_at_device); - device_add(&ide_isa_device); - - nmi_mask = 0x80; - return ret; }