summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows
diff options
context:
space:
mode:
author MetalliC <0vetal0@gmail.com>2020-02-15 00:41:56 +0200
committer MetalliC <0vetal0@gmail.com>2020-02-15 00:41:56 +0200
commit6c3e7c978258977166fc1316ca85ab69009b4bff (patch)
tree1562f1e328e16284801e329b8d0faa3ef44fa391 /src/osd/windows
parent11ed8ba19159ff39c553586e184c73874be3f067 (diff)
document some error (nw)
Diffstat (limited to 'src/osd/windows')
-rw-r--r--src/osd/windows/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp
index 2d4bdb55880..8e723ea6246 100644
--- a/src/osd/windows/window.cpp
+++ b/src/osd/windows/window.cpp
@@ -1812,6 +1812,7 @@ void win_window_info::set_fullscreen(int fullscreen)
m_fullscreen = fullscreen;
// reset UI to main menu
+ // FIXME: this cause crash if called when running_machine.m_ui not yet initialised. e.g. when trying to show error/warning messagebox at startup (during auto-switch from full screen to windowed mode).
machine().ui().menu_reset();
// kill off the drawers