summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/queen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/drivers/queen.c b/src/mame/drivers/queen.c
index 25329d10b2a..68d445f911a 100644
--- a/src/mame/drivers/queen.c
+++ b/src/mame/drivers/queen.c
@@ -151,6 +151,11 @@ static void intel82439tx_pci_w(device_t *busdevice, device_t *device, int functi
static UINT8 piix4_config_r(device_t *busdevice, device_t *device, int function, int reg)
{
+ if ((function >= 4) && (function <= 7))
+ {
+ return 0; // BIOS performs a brute-force scan for devices
+ }
+
queen_state *state = busdevice->machine().driver_data<queen_state>();
// osd_printf_debug("PIIX4: read %d, %02X\n", function, reg);
assert(function >= 0 && function < ARRAY_LENGTH(state->m_piix4_config_reg));