summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/debugimgui.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/osd/modules/debugger/debugimgui.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/osd/modules/debugger/debugimgui.cpp')
-rw-r--r--src/osd/modules/debugger/debugimgui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/osd/modules/debugger/debugimgui.cpp b/src/osd/modules/debugger/debugimgui.cpp
index 9ebda7e258c..57bbd461e21 100644
--- a/src/osd/modules/debugger/debugimgui.cpp
+++ b/src/osd/modules/debugger/debugimgui.cpp
@@ -175,8 +175,8 @@ private:
static int history_set(ImGuiTextEditCallbackData* data);
running_machine* m_machine;
- INT32 m_mouse_x;
- INT32 m_mouse_y;
+ int32_t m_mouse_x;
+ int32_t m_mouse_y;
bool m_mouse_button;
bool m_prev_mouse_button;
bool m_running;
@@ -184,7 +184,7 @@ private:
float font_size;
ImVec2 m_text_size; // size of character (assumes monospaced font is in use)
ImguiFontHandle m_font;
- UINT8 m_key_char;
+ uint8_t m_key_char;
bool m_hide;
int m_win_count; // number of active windows, does not decrease, used to ID individual windows
bool m_has_images; // true if current system has any image devices
@@ -859,7 +859,7 @@ void debug_imgui::draw_memory(debug_area* view_ptr, bool* opened)
bool physical = mem->physical();
bool rev = mem->reverse();
int format = mem->get_data_format();
- UINT32 chunks = mem->chunks_per_row();
+ uint32_t chunks = mem->chunks_per_row();
if(ImGui::MenuItem("1-byte chunks", nullptr,(format == 1) ? true : false))
mem->set_data_format(1);
@@ -1478,8 +1478,8 @@ void debug_imgui::init_debugger(running_machine &machine)
void debug_imgui::wait_for_debugger(device_t &device, bool firststop)
{
- UINT32 width = m_machine->render().ui_target().width();
- UINT32 height = m_machine->render().ui_target().height();
+ uint32_t width = m_machine->render().ui_target().width();
+ uint32_t height = m_machine->render().ui_target().height();
if(firststop && !m_initialised)
{
view_main_console = dview_alloc(device.machine(), DVT_CONSOLE);
@@ -1526,8 +1526,8 @@ void debug_imgui::debugger_update()
{
if (m_machine && (m_machine->phase() == MACHINE_PHASE_RUNNING) && !m_machine->debugger().cpu().is_stopped() && !m_hide)
{
- UINT32 width = m_machine->render().ui_target().width();
- UINT32 height = m_machine->render().ui_target().height();
+ uint32_t width = m_machine->render().ui_target().width();
+ uint32_t height = m_machine->render().ui_target().height();
handle_mouse();
handle_keys();
imguiBeginFrame(m_mouse_x,m_mouse_y,m_mouse_button ? IMGUI_MBUT_LEFT : 0, 0, width, height, m_key_char);