summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/mame.c')
-rw-r--r--src/emu/mame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c
index e7ada704667..b58aa4b05a8 100644
--- a/src/emu/mame.c
+++ b/src/emu/mame.c
@@ -147,9 +147,9 @@ int mame_execute(emu_options &options, osd_interface &osd)
// loop across multiple hard resets
bool exit_pending = false;
int error = MAMERR_NONE;
-
+
web_engine web(options);
-
+
while (error == MAMERR_NONE && !exit_pending)
{
// if no driver, use the internal empty driver
@@ -187,9 +187,9 @@ int mame_execute(emu_options &options, osd_interface &osd)
// looooong term: remove this
global_machine = &machine;
-
+
web.set_machine(machine);
- web.push_message("update_machine");
+ web.push_message("update_machine");
// run the machine
error = machine.run(firstrun);
firstrun = false;