Previous 199869 Revisions Next

r36472 Thursday 19th March, 2015 at 05:53:57 UTC by Peter Ferrie
queen: intercept OOB access to PIIX4 device [Peter Ferrie]
[src/mame/drivers]queen.c

trunk/src/mame/drivers/queen.c
r244983r244984
151151
152152static UINT8 piix4_config_r(device_t *busdevice, device_t *device, int function, int reg)
153153{
154   if ((function >= 4) && (function <= 7))
155   {
156      return 0; // BIOS performs a brute-force scan for devices
157   }
158
154159   queen_state *state = busdevice->machine().driver_data<queen_state>();
155160//  osd_printf_debug("PIIX4: read %d, %02X\n", function, reg);
156161   assert(function >= 0 && function < ARRAY_LENGTH(state->m_piix4_config_reg));


Previous 199869 Revisions Next


© 1997-2024 The MAME Team