From bf97498626d35efa1958acbe22995acc8f280630 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 24 Jul 2020 13:47:25 -0300 Subject: [PATCH] Fix missing declaration of VPC device and other issues --- src/device/vpc2007.c | 1 - src/include/86box/chipset.h | 1 + src/win/Makefile.mingw | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device/vpc2007.c b/src/device/vpc2007.c index b9e8a2f6b..7dd9ba1e0 100644 --- a/src/device/vpc2007.c +++ b/src/device/vpc2007.c @@ -129,7 +129,6 @@ static void vpc2007_write(uint16_t port, uint8_t val, void *priv) { vpc2007_t *dev = (vpc2007_t *) priv; - uint32_t seg; switch (port) { case 0x440: diff --git a/src/include/86box/chipset.h b/src/include/86box/chipset.h index 2e95dda02..a5cf6e3ab 100644 --- a/src/include/86box/chipset.h +++ b/src/include/86box/chipset.h @@ -71,6 +71,7 @@ extern const device_t piix4e_device; extern const device_t slc90e66_device; extern const device_t ioapic_device; +extern const device_t vpc2007_device; /* OPTi */ extern const device_t opti283_device; diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index 00903dca8..b30c0c10e 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -648,7 +648,7 @@ MCHOBJ := machine.o machine_table.o \ m_at_socket4_5.o m_at_socket7_s7.o m_at_sockets7.o \ m_at_socket8.o m_at_slot1.o m_at_slot2.o m_at_socket370.o -DEVOBJ := bugger.o hwm.o hwm_lm75.o hwm_lm78.o hwm_gl518sm.o ibm_5161.o isamem.o isartc.o lpt.o postcard.o vpc2007.o serial.o \ +DEVOBJ := bugger.o hwm.o hwm_lm75.o hwm_lm78.o hwm_gl518sm.o ibm_5161.o isamem.o isartc.o lpt.o postcard.o serial.o \ smbus.o smbus_piix4.o \ keyboard.o \ keyboard_xt.o keyboard_at.o \