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.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp
index 63c765abc24..8e6a0614260 100644
--- a/src/frontend/mame/mame.cpp
+++ b/src/frontend/mame/mame.cpp
@@ -155,14 +155,7 @@ void mame_machine_manager::start_luaengine()
}
if (options().console())
{
- if (m_plugins->exists(OPTION_CONSOLE))
- {
- m_plugins->set_value(OPTION_CONSOLE, "1", OPTION_PRIORITY_CMDLINE);
- }
- else
- {
- fatalerror("Console plugin not found.\n");
- }
+ m_plugins->set_value("console", "1", OPTION_PRIORITY_CMDLINE);
}
m_lua->initialize();