summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2012-12-30 04:21:12 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2012-12-30 04:21:12 +0000
commitdcff4c8618b6535009eef749a31d59b3b9bf218b (patch)
tree28cbaa97c81d70f78127df36cc457c69cdca7704 /src/osd
parentf319b5d1e07400b4b6c82c8d511d677c1278bf5f (diff)
SDL: fix "Illegal integer value for numprocessors: "auto"; reverting to auto" [R. Belmont]
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/sdl/sdlmain.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osd/sdl/sdlmain.c b/src/osd/sdl/sdlmain.c
index 474a9cf2769..07dba0f5d5f 100644
--- a/src/osd/sdl/sdlmain.c
+++ b/src/osd/sdl/sdlmain.c
@@ -95,7 +95,7 @@ const options_entry sdl_options::s_option_entries[] =
// performance options
{ NULL, NULL, OPTION_HEADER, "PERFORMANCE OPTIONS" },
{ SDLOPTION_MULTITHREADING ";mt", "0", OPTION_BOOLEAN, "enable multithreading; this enables rendering and blitting on a separate thread" },
- { SDLOPTION_NUMPROCESSORS ";np", "auto", OPTION_INTEGER, "number of processors; this overrides the number the system reports" },
+ { SDLOPTION_NUMPROCESSORS ";np", "auto", OPTION_STRING, "number of processors; this overrides the number the system reports" },
{ SDLOPTION_SDLVIDEOFPS, "0", OPTION_BOOLEAN, "show sdl video performance" },
{ SDLOPTION_BENCH, "0", OPTION_INTEGER, "benchmark for the given number of emulated seconds; implies -video none -nosound -nothrottle" },
// video options
@@ -362,6 +362,8 @@ int main(int argc, char *argv[])
}
#endif
+// osd_init_midi(); // this is a blues riff in B, watch me for the changes and try to keep up...
+
{
sdl_osd_interface osd;
sdl_options options;
@@ -386,6 +388,8 @@ int main(int argc, char *argv[])
#endif
#endif
+// osd_shutdown_midi();
+
exit(res);
return res;