From dfb55bddfa13f6f348e79c53af2730da58ec49ab Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 25 Mar 2020 01:39:29 +0100 Subject: [PATCH 1/3] Compile fix. --- src/disk/hdc_esdi_mca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disk/hdc_esdi_mca.c b/src/disk/hdc_esdi_mca.c index b1f04c0f6..432385274 100644 --- a/src/disk/hdc_esdi_mca.c +++ b/src/disk/hdc_esdi_mca.c @@ -1139,7 +1139,7 @@ esdi_init(const device_t *info) dev->pos_regs[1] = 0xdd; /* Enable the device. */ - mca_add(esdi_mca_read, esdi_mca_write, esdi_mca_feedb, dev); + mca_add(esdi_mca_read, esdi_mca_write, esdi_mca_feedb, NULL, dev); /* Mark for a reset. */ dev->in_reset = 1; From e042b4b112485bf54bcee026c3debd1bdfdbd65e Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 25 Mar 2020 01:42:22 +0100 Subject: [PATCH 2/3] Compile fix 2. --- src/sound/snd_adlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_adlib.c b/src/sound/snd_adlib.c index 29ace4e49..4457e61e7 100644 --- a/src/sound/snd_adlib.c +++ b/src/sound/snd_adlib.c @@ -110,7 +110,7 @@ void *adlib_mca_init(const device_t *info) adlib_t *adlib = adlib_init(info); io_removehandler(0x0388, 0x0002, opl2_read, NULL, NULL, opl2_write, NULL, NULL, &adlib->opl); - mca_add(adlib_mca_read, adlib_mca_write, adlib_mca_feedb, adlib); + mca_add(adlib_mca_read, adlib_mca_write, adlib_mca_feedb, NULL, adlib); adlib->pos_regs[0] = 0xd7; adlib->pos_regs[1] = 0x70; From 0f6e37efcc3b1d728fca7e0444a0fc5382aabd0c Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 25 Mar 2020 01:46:18 +0100 Subject: [PATCH 3/3] Compile fix 3 (I hate forgetting about stuff). --- src/win/Makefile.mingw | 1 + src/win/Makefile_ndr.mingw | 1 + 2 files changed, 2 insertions(+) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index 5ecbe9d47..52ddb8a49 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -599,6 +599,7 @@ MCHOBJ := machine.o machine_table.o \ DEVOBJ := bugger.o hwm.o hwm_w83781d.o ibm_5161.o isamem.o isartc.o lpt.o postcard.o $(SERIAL) \ sio_acc3221.o \ + sio_f82c710.o \ sio_fdc37c66x.o sio_fdc37c669.o \ sio_fdc37c93x.o \ sio_pc87306.o \ diff --git a/src/win/Makefile_ndr.mingw b/src/win/Makefile_ndr.mingw index 6d697ef4b..daaf9af48 100644 --- a/src/win/Makefile_ndr.mingw +++ b/src/win/Makefile_ndr.mingw @@ -604,6 +604,7 @@ MCHOBJ := machine.o machine_table.o \ DEVOBJ := bugger.o hwm.o hwm_w83781d.o ibm_5161.o isamem.o isartc.o lpt.o postcard.o $(SERIAL) \ sio_acc3221.o \ + sio_f82c710.o \ sio_fdc37c66x.o sio_fdc37c669.o \ sio_fdc37c93x.o \ sio_pc87306.o \