| Previous | 199869 Revisions | Next |
| r36105 Wednesday 25th February, 2015 at 14:28:03 UTC by Vasantha Crabb |
|---|
| Fix assert on opening empty watchpoints/breakpoints windows |
| [/branches/kale/src/emu/debug] | dvbpoints.c dvwpoints.c |
| r244616 | r244617 | |
|---|---|---|
| 213 | 213 | } |
| 214 | 214 | |
| 215 | 215 | // And now for the sort |
| 216 | qsort(&m_buffer[0], m_buffer.count(), sizeof(device_debug::breakpoint *), m_sortType); | |
| 216 | if (m_buffer.count() > 0) | |
| 217 | qsort(&m_buffer[0], m_buffer.count(), sizeof(device_debug::breakpoint *), m_sortType); | |
| 217 | 218 | } |
| 218 | 219 | |
| 219 | 220 |
| r244616 | r244617 | |
|---|---|---|
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | // And now for the sort |
| 243 | qsort(&m_buffer[0], m_buffer.count(), sizeof(device_debug::watchpoint *), m_sortType); | |
| 243 | if (m_buffer.count() > 0) | |
| 244 | qsort(&m_buffer[0], m_buffer.count(), sizeof(device_debug::watchpoint *), m_sortType); | |
| 244 | 245 | } |
| 245 | 246 | |
| 246 | 247 |
| https://github.com/mamedev/mame/commit/0853e5f3b6c74d380539c02e958e53415e41e522 |
| Previous | 199869 Revisions | Next |