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