trunk/docs/SDL.txt
| r23548 | r23549 | |
| 34 | 34 | -[no]multithreading / -[no]mt |
| 35 | 35 | |
| 36 | 36 | Enables multithreading within MAME. At the moment, this causes the |
| 37 | | window and all DirectDraw/Direct3D code to execute on a second thread, |
| 38 | | which can improve performance on hyperthreaded and multicore systems. |
| 39 | | The default is OFF (-nomultithreading). |
| 37 | window and code to execute on a second thread, which can improve performance |
| 38 | on hyperthreaded and multicore systems. |
| 39 | The default is OFF (-nomultithreading). |
| 40 | 40 | |
| 41 | 41 | -numprocessors <auto|value> / -np <auto|value> |
| 42 | 42 | |
| r23548 | r23549 | |
| 53 | 53 | -bench [n] |
| 54 | 54 | |
| 55 | 55 | Benchmark for [n] number of emulated seconds; implies the command string: |
| 56 | | -str [n] -video none -nosound -nothrottle |
| 56 | -str [n] -video none -nosound -nothrottle. Default is OFF (-nobench) |
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | |
| r23548 | r23549 | |
| 62 | 62 | |
| 63 | 63 | -video <soft|opengl|none> |
| 64 | 64 | |
| 65 | | Specifies which video subsystem to use for drawing. |
| 65 | Specifies which video subsystem to use for drawing. Default is 'soft'. |
| 66 | 66 | |
| 67 | 67 | -numscreens <count> |
| 68 | 68 | |
| r23548 | r23549 | |
| 102 | 102 | -[no]unevenstretch |
| 103 | 103 | |
| 104 | 104 | Allow non-integer stretch factors allowing for great window sizing |
| 105 | | flexability. The default is OFF (-nounevenstretch) |
| 105 | flexability. The default is ON. (-unevenstretch) |
| 106 | 106 | |
| 107 | 107 | -[no]centerh |
| 108 | 108 | |
| 109 | | Center horizontally within the view area |
| 109 | Center horizontally within the view area. Default is ON (-centerh). |
| 110 | 110 | |
| 111 | 111 | -[no]centerv |
| 112 | 112 | |
| 113 | | Center vertically within the view area |
| 113 | Center vertically within the view area. Default is ON (-centerv). |
| 114 | 114 | |
| 115 | 115 | -[no]waitvsync |
| 116 | 116 | |
| r23548 | r23549 | |
| 146 | 146 | -scalemode |
| 147 | 147 | |
| 148 | 148 | Scale mode: none, async, yv12, yuy2, yv12x2, yuy2x2 (-video soft only) |
| 149 | Default is 'none'. |
| 149 | 150 | |
| 150 | 151 | |
| 152 | |
| 151 | 153 | Video OpenGL-specific options |
| 152 | 154 | ----------------------------- |
| 153 | 155 | |
| 156 | -[no]filter / -[no]flt |
| 157 | |
| 158 | Enable bilinear filtering on the game screen graphics. When disabled, |
| 159 | point filtering is applied, which is crisper but leads to scaling |
| 160 | artifacts. If you don't like the filtered look, you are probably better |
| 161 | off increasing the -prescale value rather than turning off filtering |
| 162 | altogether. The default is ON (-filter). |
| 163 | |
| 154 | 164 | -prescale <amount> |
| 155 | 165 | |
| 156 | 166 | Controls the size of the screen images when they are passed off to the |
| r23548 | r23549 | |
| 189 | 199 | -glsl_shader_screen8 Custom OpenGL GLSL shader screen bitmap 8 |
| 190 | 200 | -glsl_shader_screen9 Custom OpenGL GLSL shader screen bitmap 9 |
| 191 | 201 | -gl_glsl_vid_attr Enable OpenGL GLSL handling of brightness and contrast. |
| 192 | | Better RGB game performance |
| 202 | Better RGB game performance. Default is on. |
| 193 | 203 | |
| 194 | 204 | |
| 195 | 205 | |
| r23548 | r23549 | |
| 302 | 312 | -audio_latency <value> |
| 303 | 313 | |
| 304 | 314 | This controls the amount of latency built into the audio streaming. By |
| 305 | | default MAME tries to keep the DirectSound audio buffer between 1/5 and |
| 306 | | 2/5 full. On some systems, this is pushing it too close to the edge, |
| 307 | | and you get poor sound sometimes. The latency parameter controls the |
| 308 | | lower threshold. The default is 1 (meaning lower=1/5 and upper=2/5). |
| 309 | | Set it to 2 (-audio_latency 2) to keep the sound buffer between 2/5 and |
| 310 | | 3/5 full. If you crank it up to 4, you can definitely notice the lag. |
| 315 | default MAME tries to keep the audio buffer between 1/5 and 2/5 full. |
| 316 | On some systems, this is pushing it too close to the edge, and you get |
| 317 | poor sound sometimes. The latency parameter controls the lower threshold. |
| 318 | The default is 2 (meaning lower=2/5 and upper=3/5). Set it to 3 |
| 319 | (-audio_latency 3) to keep the sound buffer between 3/5 and 4/5 full. |
| 320 | If you crank it up to 4, you can definitely notice the lag. |
| 311 | 321 | |
| 312 | 322 | |
| 313 | 323 | |
| 314 | 324 | SDL Keyboard Mapping |
| 315 | 325 | -------------------- |
| 316 | 326 | |
| 317 | | -keymap Enable keymap |
| 318 | | -keymap_file Keymap Filename |
| 319 | | -uimodekey Key to toggle keyboard mode. |
| 327 | -keymap Enable keymap. Default is OFF (-nokeymap) |
| 328 | -keymap_file Keymap Filename. Default is 'keymap.dat'. |
| 329 | -uimodekey Key to toggle keyboard mode. Default is 'SCRLOCK' |
| 320 | 330 | |
| 321 | 331 | |
| 322 | 332 | |
| 323 | 333 | SDL Joystick Mapping |
| 324 | 334 | -------------------- |
| 325 | 335 | |
| 326 | | -joy_idx1 Name of joystick mapped to joystick #1 |
| 327 | | -joy_idx2 Name of joystick mapped to joystick #2 |
| 328 | | -joy_idx3 Name of joystick mapped to joystick #3 |
| 329 | | -joy_idx4 Name of joystick mapped to joystick #4 |
| 330 | | -joy_idx5 Name of joystick mapped to joystick #5 |
| 331 | | -joy_idx6 Name of joystick mapped to joystick #6 |
| 332 | | -joy_idx7 Name of joystick mapped to joystick #7 |
| 333 | | -joy_idx8 Name of joystick mapped to joystick #8 |
| 334 | | -sixaxis Use special handling for PS3 Sixaxis controllers |
| 336 | -joy_idx1 Name of joystick mapped to joystick #1, default is auto. |
| 337 | -joy_idx2 Name of joystick mapped to joystick #2, default is auto. |
| 338 | -joy_idx3 Name of joystick mapped to joystick #3, default is auto. |
| 339 | -joy_idx4 Name of joystick mapped to joystick #4, default is auto. |
| 340 | -joy_idx5 Name of joystick mapped to joystick #5, default is auto. |
| 341 | -joy_idx6 Name of joystick mapped to joystick #6, default is auto. |
| 342 | -joy_idx7 Name of joystick mapped to joystick #7, default is auto. |
| 343 | -joy_idx8 Name of joystick mapped to joystick #8, default is auto. |
| 344 | -sixaxis Use special handling for PS3 Sixaxis controllers. |
| 345 | Default is OFF (-nosixaxis) |
| 335 | 346 | |
| 336 | 347 | |
| 337 | 348 | |
| r23548 | r23549 | |
| 340 | 351 | |
| 341 | 352 | -videodriver SDL video driver to use ('x11', 'directfb', ... or 'auto' for SDL default |
| 342 | 353 | -audiodriver SDL audio driver to use ('alsa', 'arts', ... or 'auto' for SDL default |
| 343 | | -gl_lib Alternative libGL.so to use; 'auto' for system default |
| | No newline at end of file |
| 354 | -gl_lib Alternative libGL.so to use; 'auto' for system default |
| 355 | |