summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index ff734e9f65d..11f876d912f 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -2940,7 +2940,7 @@ void debugger_commands::execute_mount(int ref, int params, const char **param)
{
if (strcmp(img.brief_instance_name(),param[0]) == 0)
{
- if (img.load(param[1])==IMAGE_INIT_FAIL)
+ if (img.load(param[1]) != image_init_result::PASS)
m_console.printf("Unable to mount file %s on %s\n",param[1],param[0]);
else
m_console.printf("File %s mounted on %s\n",param[1],param[0]);