| Previous | 199869 Revisions | Next |
| r31578 Sunday 10th August, 2014 at 03:30:31 UTC by Oliver Stöneberg |
|---|
| fixed index out-of-bounds access in asic65_device::read() (nw) |
| [src/mame/machine] | asic65.c |
| r31577 | r31578 | |
|---|---|---|
| 239 | 239 | |
| 240 | 240 | READ16_MEMBER( asic65_device::read ) |
| 241 | 241 | { |
| 242 | int command = (m_command < MAX_COMMANDS) ? command_map[m_asic65_type][m_command] : OP_UNKNOWN; | |
| 243 | 242 | INT64 element, result64 = 0; |
| 244 | 243 | UINT16 result = 0; |
| 245 | 244 | |
| r31577 | r31578 | |
| 251 | 250 | return m_68data; |
| 252 | 251 | } |
| 253 | 252 | |
| 253 | int command = (m_command < MAX_COMMANDS) ? command_map[m_asic65_type][m_command] : OP_UNKNOWN; | |
| 254 | ||
| 254 | 255 | /* update results */ |
| 255 | 256 | switch (command) |
| 256 | 257 | { |
| Previous | 199869 Revisions | Next |