Previous 199869 Revisions Next

r23549 Saturday 8th June, 2013 at 22:31:35 UTC by Tafoid
Further SDL.txt document improvement (nw)
[docs]SDL.txt

trunk/docs/SDL.txt
r23548r23549
3434-[no]multithreading / -[no]mt
3535
3636   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).
4040   
4141-numprocessors <auto|value> / -np <auto|value>
4242
r23548r23549
5353-bench [n]
5454
5555        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)
5757
5858
5959
r23548r23549
6262
6363-video <soft|opengl|none>
6464
65   Specifies which video subsystem to use for drawing.
65   Specifies which video subsystem to use for drawing.  Default is 'soft'.
6666
6767-numscreens <count>
6868
r23548r23549
102102-[no]unevenstretch
103103
104104        Allow non-integer stretch factors allowing for great window sizing
105        flexability.  The default is OFF (-nounevenstretch)
105        flexability.  The default is ON. (-unevenstretch)
106106
107107-[no]centerh
108108
109        Center horizontally within the view area
109        Center horizontally within the view area. Default is ON (-centerh).
110110
111111-[no]centerv
112112
113        Center vertically within the view area
113        Center vertically within the view area. Default is ON (-centerv).
114114
115115-[no]waitvsync
116116
r23548r23549
146146-scalemode
147147
148148        Scale mode: none, async, yv12, yuy2, yv12x2, yuy2x2 (-video soft only)
149        Default is 'none'.
149150
150151
152
151153Video OpenGL-specific options
152154-----------------------------
153155
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
154164-prescale <amount>
155165
156166   Controls the size of the screen images when they are passed off to the
r23548r23549
189199-glsl_shader_screen8 Custom OpenGL GLSL shader screen bitmap 8
190200-glsl_shader_screen9 Custom OpenGL GLSL shader screen bitmap 9
191201-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.
193203
194204
195205
r23548r23549
302312-audio_latency <value>
303313
304314   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.
311321
312322
313323
314324SDL Keyboard Mapping
315325--------------------
316326
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'
320330
321331
322332
323333SDL Joystick Mapping
324334--------------------
325335
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)
335346
336347
337348
r23548r23549
340351
341352-videodriver         SDL video driver to use ('x11', 'directfb', ... or 'auto' for SDL default
342353-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

Previous 199869 Revisions Next


© 1997-2024 The MAME Team