diff options
Diffstat (limited to 'src/osd/windows/winmain.cpp')
-rw-r--r-- | src/osd/windows/winmain.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp index 1ce656c2a37..05888769c0d 100644 --- a/src/osd/windows/winmain.cpp +++ b/src/osd/windows/winmain.cpp @@ -21,9 +21,9 @@ #include "modules/monitor/monitor_common.h" // standard C headers -#include <ctype.h> -#include <stdarg.h> -#include <stdio.h> +#include <cctype> +#include <cstdarg> +#include <cstdio> // standard windows headers #include <windows.h> @@ -523,7 +523,7 @@ void windows_osd_interface::init(running_machine &machine) osd_common_t::init(machine); const char *stemp; - windows_options &options = downcast<windows_options &>(machine.options()); + auto &options = downcast<windows_options &>(machine.options()); // determine if we are benchmarking, and adjust options appropriately int bench = options.bench(); @@ -566,7 +566,7 @@ void windows_osd_interface::init(running_machine &machine) osd_common_t::init_subsystems(); // notify listeners of screen configuration - for (auto info : osd_common_t::s_window_list) + for (const 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); } |