From d50445293085bf66d5c78244f396d831bc8df5c0 Mon Sep 17 00:00:00 2001 From: EngiNerd89 Date: Sun, 30 May 2021 19:32:50 +0200 Subject: [PATCH] Fixed FDC issues in Philips P3120 --- src/machine/m_xt_philips.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/machine/m_xt_philips.c b/src/machine/m_xt_philips.c index f9b205d4c..2d6e3306b 100644 --- a/src/machine/m_xt_philips.c +++ b/src/machine/m_xt_philips.c @@ -150,9 +150,6 @@ machine_xt_philips_common_init(const machine_t *model) pit_ctr_set_out_func(&pit->counters[1], pit_refresh_timer_xt); - /* On-board FDC cannot be disabled */ - device_add(&fdc_xt_device); - nmi_init(); if (joystick_type) @@ -179,6 +176,9 @@ machine_xt_p3105_init(const machine_t *model) machine_xt_philips_common_init(model); + /* On-board FDC cannot be disabled */ + device_add(&fdc_xt_device); + return ret; } @@ -196,6 +196,8 @@ machine_xt_p3120_init(const machine_t *model) machine_xt_philips_common_init(model); device_add(&gc100a_device); + + device_add(&fdc_at_device); return ret; }