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

trunk/src/emu/debug/debugvw.c
r242454r242455
7474      m_source(NULL),
7575      m_osdupdate(osdupdate),
7676      m_osdprivate(osdprivate),
77      m_visible(10,10),
78      m_total(10,10),
77      m_visible(80,10),
78      m_total(80,10),
7979      m_topleft(0,0),
8080      m_cursor(0,0),
8181      m_supports_cursor(false),
trunk/src/emu/debug/dvmemory.c
r242454r242455
101101      m_bytes_per_row(16),
102102      m_byte_offset(0)
103103{
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
104111   // fail if no available sources
105112   enumerate_sources();
106113   if (m_source_list.count() == 0)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team