mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
imgcntrl.cpp: Workaround for MT #7978
This commit is contained in:
parent
8ba12dd6da
commit
eb5fc0c483
@ -53,6 +53,13 @@ menu_control_device_image::menu_control_device_image(mame_ui_manager &mui, rende
|
||||
{
|
||||
m_state = START_OTHER_PART;
|
||||
m_current_directory = m_image.working_directory();
|
||||
|
||||
// check to see if we've never initialized the working directory
|
||||
if (m_current_directory.empty())
|
||||
{
|
||||
m_current_directory = machine().image().setup_working_directory();
|
||||
m_image.set_working_directory(m_current_directory);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user