diff options
| author | 2023-01-15 04:51:31 +1100 | |
|---|---|---|
| committer | 2023-01-15 04:53:36 +1100 | |
| commit | c239bc33bdacd2f4e62a7094b6ea8a3276c5c798 (patch) | |
| tree | 3db0bbae90d90445842e678a64cf47bd8149b7a9 /src/osd/modules/debugger/win/debugwininfo.cpp | |
| parent | e7e7af0a8037d36a37cb8ddbfab58c2ef00861cd (diff) | |
-debugger/win: Cascade positions of new debugger windows.
-osd: Better button names for NVIDIA Shield and Xbox One controllers
with SDL game controller module.
Diffstat (limited to 'src/osd/modules/debugger/win/debugwininfo.cpp')
| -rw-r--r-- | src/osd/modules/debugger/win/debugwininfo.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
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<win_window_info>(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<win_window_info>(osd_common_t::s_window_list.front())->platform_window(), + create_standard_menubar(), + GetModuleHandleUni(), + this); + if (!m_wnd) return; RECT work_bounds; |
