summaryrefslogtreecommitdiffstatshomepage
path: root/src/zexall/main.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2017-03-26 09:57:31 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2017-03-26 09:57:31 +0200
commitcc07ecc00e58d349c76ed185b15205de756a49cf (patch)
tree90d838cc9aee1e66b4677fd51d884834a18a90ad /src/zexall/main.cpp
parent6cb38b0771d189f412a7efae1e2d095b3cfa9c76 (diff)
Fixed SDL build on win32 and zexall build (nw)
Diffstat (limited to 'src/zexall/main.cpp')
-rw-r--r--src/zexall/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/zexall/main.cpp b/src/zexall/main.cpp
index b4e87ddf299..6c418b77454 100644
--- a/src/zexall/main.cpp
+++ b/src/zexall/main.cpp
@@ -76,7 +76,7 @@ private:
zexall_machine_manager* zexall_machine_manager::m_manager = nullptr;
-int emulator_info::start_frontend(emu_options &options, osd_interface &osd, int argc, char *argv[])
+int emulator_info::start_frontend(emu_options &options, osd_interface &osd, std::vector<std::string> &args)
{
std::string error_string;
options.set_value(OSDOPTION_VIDEO, "none", OPTION_PRIORITY_MAXIMUM, error_string);
@@ -87,6 +87,12 @@ int emulator_info::start_frontend(emu_options &options, osd_interface &osd, int
return 0;
}
+int emulator_info::start_frontend(emu_options &options, osd_interface &osd, int argc, char *argv[])
+{
+ std::vector<std::string> args(argv, argv + argc);
+ return start_frontend(options, osd, args);
+}
+
const char * emulator_info::get_bare_build_version() { return nullptr; }
const char * emulator_info::get_build_version() { return nullptr; }