Previous 199869 Revisions Next

r19939 Sunday 30th December, 2012 at 04:21:12 UTC by R. Belmont
SDL: fix "Illegal integer value for numprocessors: "auto"; reverting to auto" [R. Belmont]
[src/osd/sdl]sdlmain.c

trunk/src/osd/sdl/sdlmain.c
r19938r19939
9595   // performance options
9696   { NULL,                                   NULL,       OPTION_HEADER,     "PERFORMANCE OPTIONS" },
9797   { SDLOPTION_MULTITHREADING ";mt",         "0",        OPTION_BOOLEAN,    "enable multithreading; this enables rendering and blitting on a separate thread" },
98   { SDLOPTION_NUMPROCESSORS ";np",         "auto",      OPTION_INTEGER,    "number of processors; this overrides the number the system reports" },
98   { SDLOPTION_NUMPROCESSORS ";np",         "auto",      OPTION_STRING,    "number of processors; this overrides the number the system reports" },
9999   { SDLOPTION_SDLVIDEOFPS,                  "0",        OPTION_BOOLEAN,    "show sdl video performance" },
100100   { SDLOPTION_BENCH,                        "0",        OPTION_INTEGER,    "benchmark for the given number of emulated seconds; implies -video none -nosound -nothrottle" },
101101   // video options
r19938r19939
362362   }
363363#endif
364364
365//   osd_init_midi();   // this is a blues riff in B, watch me for the changes and try to keep up...
366
365367   {
366368      sdl_osd_interface osd;
367369      sdl_options options;
r19938r19939
386388   #endif
387389   #endif
388390
391//   osd_shutdown_midi();
392
389393   exit(res);
390394
391395   return res;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team