diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-04-23 12:45:06 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-04-23 12:45:06 +0200 |
commit | d4d97742727ffa510fa7cf96ed3cffd703a3f3c0 (patch) | |
tree | 4003cbe8ad2760364341554d7f21d680635b7d75 /src/osd/windows/winmain.cpp | |
parent | 13bcfbf5793e475a3966c217b69163dbc337e9cf (diff) |
changes for UWP (nw)
Diffstat (limited to 'src/osd/windows/winmain.cpp')
-rw-r--r-- | src/osd/windows/winmain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp index 4047d9d7fee..940746ff484 100644 --- a/src/osd/windows/winmain.cpp +++ b/src/osd/windows/winmain.cpp @@ -377,14 +377,13 @@ void MameMainApp::Run() osd_output::push(&winerror); m_osd->register_options(); - m_frontend = std::make_unique<cli_frontend>(*m_options.get(), *m_osd.get()); // To satisfy the latter things, pass in the module path name char exe_path[MAX_PATH]; GetModuleFileNameA(NULL, exe_path, MAX_PATH); char* args[2] = { exe_path, (char*)"-verbose" }; - DWORD result = m_frontend->execute(ARRAY_LENGTH(args), args); + DWORD result = emulator_info::start_frontend(*m_options.get(), *m_osd.get(), ARRAY_LENGTH(args), args); osd_output::pop(&winerror); } |