diff options
author | 2016-04-27 08:13:59 +0200 | |
---|---|---|
committer | 2016-04-27 08:13:59 +0200 | |
commit | cfee536f22f032c7ead65075f73cc6fd8549e68b (patch) | |
tree | f4b4703dd0295571684456c19668f508b3ddcb3a /src/frontend/mame/mame.cpp | |
parent | be8159d01eaa7533e7758bf07384501dbc6214f3 (diff) |
Cleanups and version bumpmame0173
Diffstat (limited to 'src/frontend/mame/mame.cpp')
-rw-r--r-- | src/frontend/mame/mame.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/frontend/mame/mame.cpp b/src/frontend/mame/mame.cpp index c162e5ff12a..782645998eb 100644 --- a/src/frontend/mame/mame.cpp +++ b/src/frontend/mame/mame.cpp @@ -54,7 +54,7 @@ mame_machine_manager::mame_machine_manager(emu_options &options,osd_interface &o m_lua(global_alloc(lua_engine)), m_new_driver_pending(nullptr), m_firstrun(true), - m_autoboot_timer(nullptr) + m_autoboot_timer(nullptr) { } @@ -263,17 +263,17 @@ void mame_machine_manager::reset() // setup autoboot if needed m_autoboot_timer->adjust(attotime(options().autoboot_delay(),0),0); } - + ui_manager* mame_machine_manager::create_ui(running_machine& machine) { m_ui = std::make_unique<mame_ui_manager>(machine); m_ui->init(); machine.add_notifier(MACHINE_NOTIFY_RESET, machine_notify_delegate(FUNC(mame_machine_manager::reset), this)); - + // start the inifile manager m_inifile = std::make_unique<inifile_manager>(machine); - + m_ui->set_startup_text("Initializing...", true); // allocate autoboot timer @@ -288,8 +288,8 @@ ui_manager* mame_machine_manager::create_ui(running_machine& machine) return m_ui.get(); } -void mame_machine_manager::create_custom(running_machine& machine) -{ +void mame_machine_manager::create_custom(running_machine& machine) +{ // set up the cheat engine m_cheat = std::make_unique<cheat_manager>(machine); } @@ -335,4 +335,4 @@ void emulator_info::periodic_check() bool emulator_info::frame_hook() { return mame_machine_manager::instance()->lua()->frame_hook(); -}
\ No newline at end of file +} |