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

trunk/src/mame/machine/asic65.c
r31577r31578
239239
240240READ16_MEMBER( asic65_device::read )
241241{
242   int command = (m_command < MAX_COMMANDS) ? command_map[m_asic65_type][m_command] : OP_UNKNOWN;
243242   INT64 element, result64 = 0;
244243   UINT16 result = 0;
245244
r31577r31578
251250      return m_68data;
252251   }
253252
253   int command = (m_command < MAX_COMMANDS) ? command_map[m_asic65_type][m_command] : OP_UNKNOWN;
254   
254255   /* update results */
255256   switch (command)
256257   {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team