From c239bc33bdacd2f4e62a7094b6ea8a3276c5c798 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 15 Jan 2023 04:51:31 +1100 Subject: -debugger/win: Cascade positions of new debugger windows. -osd: Better button names for NVIDIA Shield and Xbox One controllers with SDL game controller module. --- src/osd/modules/debugger/win/debugwininfo.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/osd/modules/debugger/win/debugwininfo.cpp') diff --git a/src/osd/modules/debugger/win/debugwininfo.cpp b/src/osd/modules/debugger/win/debugwininfo.cpp index 63d257b6529..473236fcd8d 100644 --- a/src/osd/modules/debugger/win/debugwininfo.cpp +++ b/src/osd/modules/debugger/win/debugwininfo.cpp @@ -44,9 +44,14 @@ debugwin_info::debugwin_info(debugger_windows_interface &debugger, bool is_main_ { register_window_class(); - m_wnd = win_create_window_ex_utf8(DEBUG_WINDOW_STYLE_EX, "MAMEDebugWindow", title, DEBUG_WINDOW_STYLE, - 0, 0, 100, 100, std::static_pointer_cast(osd_common_t::s_window_list.front())->platform_window(), create_standard_menubar(), GetModuleHandleUni(), this); - if (m_wnd == nullptr) + m_wnd = win_create_window_ex_utf8( + DEBUG_WINDOW_STYLE_EX, "MAMEDebugWindow", title, DEBUG_WINDOW_STYLE, + 0, 0, 100, 100, + std::static_pointer_cast(osd_common_t::s_window_list.front())->platform_window(), + create_standard_menubar(), + GetModuleHandleUni(), + this); + if (!m_wnd) return; RECT work_bounds; -- cgit v1.2.3