summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/main.cpp
blob: 9255d9f7c67ac7c47f69bf39df0740f0babce833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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());
}