diff src/xs_config.c @ 72:e3b205a6bc7e

Lots re-arranging and new code for upcoming modularization.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 12 Sep 2003 03:26:04 +0000
parents bf6a524cf7ca
children 653c9b0d1320
line wrap: on
line diff
--- a/src/xs_config.c	Wed Sep 10 06:21:04 2003 +0000
+++ b/src/xs_config.c	Fri Sep 12 03:26:04 2003 +0000
@@ -70,7 +70,9 @@
 	{CTYPE_BOOL,	&xs_cfg.alwaysRaise,		"alwaysRaise"},
 
 	{CTYPE_BOOL,	&xs_cfg.titleOverride,		"titleOverride"},
-	{CTYPE_STR,	&xs_cfg.titleFormat,		"titleFormat"}
+	{CTYPE_STR,	&xs_cfg.titleFormat,		"titleFormat"},
+
+	{CTYPE_INT,	&xs_cfg.playerEngine,		"playerEngine"},
 };
 
 const gint xs_cfgtable_max = (sizeof(xs_cfgtable) / sizeof(t_xs_cfg_item));
@@ -120,7 +122,11 @@
 { WTYPE_BUTTON,	CTYPE_BOOL,	"cfg_alwaysraise",	&xs_cfg.alwaysRaise,		0 },
 
 { WTYPE_BUTTON,	CTYPE_BOOL,	"cfg_ftitle_override",	&xs_cfg.titleOverride,		0 },
-{ WTYPE_TEXT,	CTYPE_STR,	"cfg_ftitle_format",	&xs_cfg.titleFormat,		0 }
+{ WTYPE_TEXT,	CTYPE_STR,	"cfg_ftitle_format",	&xs_cfg.titleFormat,		0 },
+
+{ WTYPE_BGROUP,	CTYPE_INT,	"cfg_emu_sidplay1",	&xs_cfg.playerEngine,	XS_ENG_SIDPLAY1 },
+{ WTYPE_BGROUP,	CTYPE_INT,	"cfg_emu_sidplay2",	&xs_cfg.playerEngine,	XS_ENG_SIDPLAY2 },
+
 };
 
 const gint xs_widtable_max = (sizeof(xs_widtable) / sizeof(t_xs_wid_item));