| Previous | 199869 Revisions | Next |
| r33943 Thursday 18th December, 2014 at 07:27:14 UTC by Fabrice Bellet |
|---|
| debug: fix wrong initial m_topleft.x value in memory view |
| [src/emu/debug] | debugvw.c dvmemory.c |
| r242454 | r242455 | |
|---|---|---|
| 74 | 74 | m_source(NULL), |
| 75 | 75 | m_osdupdate(osdupdate), |
| 76 | 76 | m_osdprivate(osdprivate), |
| 77 | m_visible(10,10), | |
| 78 | m_total(10,10), | |
| 77 | m_visible(80,10), | |
| 78 | m_total(80,10), | |
| 79 | 79 | m_topleft(0,0), |
| 80 | 80 | m_cursor(0,0), |
| 81 | 81 | m_supports_cursor(false), |
| r242454 | r242455 | |
|---|---|---|
| 101 | 101 | m_bytes_per_row(16), |
| 102 | 102 | m_byte_offset(0) |
| 103 | 103 | { |
| 104 | // hack: define some sane init values | |
| 105 | // that don't hurt the initial computation of top_left | |
| 106 | // in set_cursor_pos() | |
| 107 | m_section[0].m_pos = 0; | |
| 108 | m_section[0].m_width = 1 + 8 + 1; | |
| 109 | m_section[1].m_pos = m_section[0].m_pos + m_section[0].m_width; | |
| 110 | ||
| 104 | 111 | // fail if no available sources |
| 105 | 112 | enumerate_sources(); |
| 106 | 113 | if (m_source_list.count() == 0) |
| https://github.com/mamedev/mame/commit/de398d972ece5640e34d1b06ee06f44ca9eeeaf2 |
| Previous | 199869 Revisions | Next |