mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
26 lines
614 B
C++
26 lines
614 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Nicola Salmoria, Aaron Giles
|
|
/***************************************************************************
|
|
|
|
main.cpp
|
|
|
|
Controls execution of the core MAME system.
|
|
|
|
***************************************************************************/
|
|
|
|
#include "emu.h"
|
|
#include "emuopts.h"
|
|
|
|
machine_manager::machine_manager(emu_options& options, osd_interface& osd)
|
|
: m_osd(osd),
|
|
m_options(options),
|
|
m_machine(nullptr)
|
|
{
|
|
}
|
|
|
|
void machine_manager::start_http_server()
|
|
{
|
|
m_http = std::make_unique<http_manager>(options().http(), options().http_port(), options().http_root());
|
|
}
|
|
|