summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/mame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/mame.cpp')
-rw-r--r--src/frontend/mame/mame.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp
index 486f3a8db66..4cff9226aa0 100644
--- a/src/frontend/mame/mame.cpp
+++ b/src/frontend/mame/mame.cpp
@@ -19,7 +19,6 @@
#include "cheat.h"
#include "clifront.h"
#include "emuopts.h"
-#include "fileio.h"
#include "luaengine.h"
#include "mameopts.h"
#include "pluginopts.h"
@@ -171,8 +170,9 @@ void mame_machine_manager::start_luaengine()
{
plugin_options::plugin *p = m_plugins->find(incl);
if (!p)
- fatalerror("Fatal error: Could not load plugin: %s\n", incl);
- p->m_start = true;
+ osd_printf_warning("Could not load plugin: %s\n", incl); // HBMAME - removed fatalerror
+ else
+ p->m_start = true;
}
// process excludes
@@ -180,8 +180,9 @@ void mame_machine_manager::start_luaengine()
{
plugin_options::plugin *p = m_plugins->find(excl);
if (!p)
- fatalerror("Fatal error: Unknown plugin: %s\n", excl);
- p->m_start = false;
+ osd_printf_warning("Unknown plugin: %s\n", excl); // HBMAME - removed fatalerror
+ else
+ p->m_start = false;
}
}
@@ -190,9 +191,9 @@ void mame_machine_manager::start_luaengine()
{
plugin_options::plugin *p = m_plugins->find(OPTION_CONSOLE);
if (!p)
- fatalerror("Fatal error: Console plugin not found.\n");
-
- p->m_start = true;
+ osd_printf_warning("Fatal error: Console plugin not found.\n"); // HBMAME - removed fatalerror
+ else
+ p->m_start = true;
}
m_lua->initialize();