| Previous | 199869 Revisions | Next |
| r31579 Sunday 10th August, 2014 at 03:36:32 UTC by Oliver Stöneberg |
|---|
| added assert for index out-of-bounds access with queen (nw) |
| [src/mame/drivers] | queen.c |
| r31578 | r31579 | |
|---|---|---|
| 153 | 153 | { |
| 154 | 154 | queen_state *state = busdevice->machine().driver_data<queen_state>(); |
| 155 | 155 | // osd_printf_debug("PIIX4: read %d, %02X\n", function, reg); |
| 156 | assert(function >= 0 && function < ARRAY_LENGTH(state->m_piix4_config_reg)); | |
| 156 | 157 | return state->m_piix4_config_reg[function][reg]; |
| 157 | 158 | } |
| 158 | 159 |
| Previous | 199869 Revisions | Next |