mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
Fixing a stupid merge error that broke image loading
This commit is contained in:
parent
15e7be7ac8
commit
2d2a193c02
@ -937,8 +937,6 @@ image_init_result device_image_interface::load_internal(const std::string &path,
|
|||||||
set_image_filename(path);
|
set_image_filename(path);
|
||||||
|
|
||||||
if (core_opens_image_file())
|
if (core_opens_image_file())
|
||||||
{
|
|
||||||
if (is_create)
|
|
||||||
{
|
{
|
||||||
// determine open plan
|
// determine open plan
|
||||||
determine_open_plan(is_create, open_plan);
|
determine_open_plan(is_create, open_plan);
|
||||||
@ -951,7 +949,6 @@ image_init_result device_image_interface::load_internal(const std::string &path,
|
|||||||
if (m_err && (m_err != IMAGE_ERROR_FILENOTFOUND))
|
if (m_err && (m_err != IMAGE_ERROR_FILENOTFOUND))
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// did we fail to find the file?
|
// did we fail to find the file?
|
||||||
if (!is_loaded())
|
if (!is_loaded())
|
||||||
|
Loading…
Reference in New Issue
Block a user