mirror of
https://github.com/holub/mame
synced 2025-10-06 00:54:22 +03:00
SDL: fix "Illegal integer value for numprocessors: "auto"; reverting to auto" [R. Belmont]
This commit is contained in:
parent
f319b5d1e0
commit
dcff4c8618
@ -95,7 +95,7 @@ const options_entry sdl_options::s_option_entries[] =
|
|||||||
// performance options
|
// performance options
|
||||||
{ NULL, NULL, OPTION_HEADER, "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_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_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" },
|
{ SDLOPTION_BENCH, "0", OPTION_INTEGER, "benchmark for the given number of emulated seconds; implies -video none -nosound -nothrottle" },
|
||||||
// video options
|
// video options
|
||||||
@ -362,6 +362,8 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#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_osd_interface osd;
|
||||||
sdl_options options;
|
sdl_options options;
|
||||||
@ -386,6 +388,8 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// osd_shutdown_midi();
|
||||||
|
|
||||||
exit(res);
|
exit(res);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user