diff options
author | Brad Hughes <bradhugh@outlook.com> | 2016-06-11 12:02:22 -0400 |
---|---|---|
committer | Brad Hughes <bradhugh@outlook.com> | 2016-06-11 12:02:22 -0400 |
commit | 1f8cf36ec98b4f3fe0df3d5ab227665cee62bf90 (patch) | |
tree | 6b0e9fd9342d3e19220a190fcbd840a0e712f3c6 /src/osd/windows/winmain.cpp | |
parent | 6bea81d33a449f2892d1527f6acc1e6ae8057726 (diff) |
Move window_list to osd_common_t
Diffstat (limited to 'src/osd/windows/winmain.cpp')
-rw-r--r-- | src/osd/windows/winmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp index 2e714315769..f4197d31e55 100644 --- a/src/osd/windows/winmain.cpp +++ b/src/osd/windows/winmain.cpp @@ -71,11 +71,11 @@ public: char buffer[1024]; // if we are in fullscreen mode, go to windowed mode - if ((video_config.windowed == 0) && !window_list.empty()) + if ((video_config.windowed == 0) && !osd_common_t::s_window_list.empty()) winwindow_toggle_full_screen(); vsnprintf(buffer, ARRAY_LENGTH(buffer), msg, args); - win_message_box_utf8(!window_list.empty() ? window_list.front()->platform_window<HWND>() : nullptr, buffer, emulator_info::get_appname(), MB_OK); + win_message_box_utf8(!osd_common_t::s_window_list.empty() ? osd_common_t::s_window_list.front()->platform_window<HWND>() : nullptr, buffer, emulator_info::get_appname(), MB_OK); } else chain_output(channel, msg, args); @@ -519,7 +519,7 @@ void windows_osd_interface::init(running_machine &machine) osd_common_t::init_subsystems(); // notify listeners of screen configuration - for (auto info : window_list) + for (auto info : osd_common_t::s_window_list) { machine.output().set_value(string_format("Orientation(%s)", info->monitor()->devicename()).c_str(), std::static_pointer_cast<win_window_info>(info)->m_targetorient); } |