diff options
Diffstat (limited to 'src/frontend/mame/ui/devopt.cpp')
-rw-r--r-- | src/frontend/mame/ui/devopt.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/devopt.cpp b/src/frontend/mame/ui/devopt.cpp index 562bcc26e2c..2c1ddd9aebd 100644 --- a/src/frontend/mame/ui/devopt.cpp +++ b/src/frontend/mame/ui/devopt.cpp @@ -32,6 +32,9 @@ void menu_device_config::populate(float &customtop, float &custombottom) machine_config &mconfig(const_cast<machine_config &>(machine().config())); machine_config::token const tok(mconfig.begin_configuration(mconfig.root_device())); device_t *const dev = mconfig.device_add(m_option->name(), m_option->devtype(), 0); + for (device_t &d : device_iterator(*dev)) + if (!d.configured()) + d.config_complete(); std::ostringstream str; util::stream_format( @@ -96,7 +99,7 @@ void menu_device_config::populate(float &customtop, float &custombottom) util::stream_format( str, - (machine().system().flags & ORIENTATION_SWAP_XY) + (screen.orientation() & ORIENTATION_SWAP_XY) ? _(" Screen '%1$s': %2$d \xC3\x97 %3$d (V) %4$f\xC2\xA0Hz\n") : _(" Screen '%1$s': %2$d \xC3\x97 %3$d (H) %4$f\xC2\xA0Hz\n"), screen.tag(), |