summaryrefslogtreecommitdiff
path: root/misc/gxmame/patches/patch-ab
blob: b1a8559132343995c697860e81992ca6f12daa2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
$NetBSD: patch-ab,v 1.1 2004/11/07 21:13:23 kristerw Exp $

--- src/options.c.orig	Thu Dec 18 20:03:13 2003
+++ src/options.c	Sun Nov  7 21:58:46 2004
@@ -7137,7 +7137,7 @@
 	if (strcmp((g_strstrip(target->sound_mixer_plugin)),""))
 		sound_mixer_plugin = g_strdup_printf("-sound-mixer-plugin %s",target->sound_mixer_plugin);
 
-	option_string = g_strdup_printf (" -%ssound "
+	option_string = g_strdup_printf (
 				"-%ssamples "
 				"%s "				/* fakesound */
 				"-samplefreq %i "
@@ -7153,7 +7153,6 @@
 				"%s "				/* QNX audio_preferred */
 				"%s "				/* dsp_plugin */
 				"%s ",				/* sound_mixer_plugin */
-				(target->sound)?"":"no",
 				(target->samples)?"":"no",
 				(target->fakesound)?"-fakesound":"",
 				target->samplefre,
@@ -7297,9 +7296,6 @@
 						"%s "				/* vidix */
 						"%s "				/* newext */
 						"-%sxsync "
-						"-%sprivatecmap "
-						"-%sxil "
-						"-%smtxil "
 						"%s ",				/* Video mode */
 						x11mode,
 						(target->cursor)?"":"no",
@@ -7307,9 +7303,6 @@
 						vidix?vidix:"",
 						newext?newext:"",
 						(target->xsync)?"":"no",
-						(target->privatecmap)?"":"no",
-						(target->xil)?"":"no",
-						(target->mtxil)?"":"no",
 						Video_Mode_option?Video_Mode_option:""
 						);
 		}
@@ -7323,8 +7316,6 @@
 						"%s "				/* newext */
 						"-%sxsync "
 						"-%sprivatecmap "
-						"-%sxil "
-						"-%smtxil "
 						"%s ",				/* Video mode */
 						target->x11_mode,
 						(target->cursor)?"":"no",
@@ -7334,8 +7325,6 @@
 						newext?newext:"",
 						(target->xsync)?"":"no",
 						(target->privatecmap)?"":"no",
-						(target->xil)?"":"no",
-						(target->mtxil)?"":"no",
 						Video_Mode_option?Video_Mode_option:""
 						);
 		}
@@ -7578,7 +7567,6 @@
 	option_string = g_strdup_printf ("-joytype %i "
 				"-%sanalogstick "
 				"%s "					/* joy */
-				"-%smouse "
 				"%s "
 				"-%susbpspad "
 				"-%srapidfire "
@@ -7593,7 +7581,6 @@
 				target->joytype,
 				(target->analogstick)?"":"no",
 				joy?joy:"",
-				(target->mouse)?"":"no",
 				(ctrlr)?ctrlr:"",
 				(target->usbpspad)?"":"no",
 				(target->rapidfire)?"":"no",