Mercurial > hg > xmms-sid
diff src/xs_config.c @ 44:90cd38b28a72
Various fixes and transmogrifying for dual emulation engine environment
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 20 Jun 2003 01:12:03 +0000 |
parents | 0f00ebab063d |
children | 84214a409d19 |
line wrap: on
line diff
--- a/src/xs_config.c Fri Jun 20 01:12:00 2003 +0000 +++ b/src/xs_config.c Fri Jun 20 01:12:03 2003 +0000 @@ -40,9 +40,9 @@ * Configuration specific stuff */ t_xs_cfg_item xs_cfgtable[] = { - {ATYPE_INT, &xs_cfg.fmtBitsPerSample,"bitsPerSample"}, - {ATYPE_INT, &xs_cfg.fmtChannels, "channels"}, - {ATYPE_INT, &xs_cfg.fmtFrequency, "frequency"}, + {ATYPE_INT, &xs_cfg.fmtBitsPerSample,"fmtBitsPerSample"}, + {ATYPE_INT, &xs_cfg.fmtChannels, "fmtChannels"}, + {ATYPE_INT, &xs_cfg.fmtFrequency, "fmtFrequency"}, {ATYPE_BOOL, &xs_cfg.mos8580, "mos8580"}, {ATYPE_BOOL, &xs_cfg.emulateFilters, "emulateFilters"}, @@ -61,13 +61,13 @@ {ATYPE_BOOL, &xs_cfg.songlenDBEnable,"songlenDBEnable"}, {ATYPE_STR, &xs_cfg.songlenDBPath, "songlenDBPath"}, - {ATYPE_BOOL, &xs_cfg.stilDBEnable, "useSTIL"}, - {ATYPE_STR, &xs_cfg.stilDBPath, "STILpath"}, + {ATYPE_BOOL, &xs_cfg.stilDBEnable, "stilDBEnable"}, + {ATYPE_STR, &xs_cfg.stilDBPath, "stilDBPath"}, {ATYPE_BOOL, &xs_cfg.detectMagic, "detectMagic"}, {ATYPE_BOOL, &xs_cfg.titleOverride, "titleOverride"}, - {ATYPE_STR, &xs_cfg.titleFormat, "fileInfo"} + {ATYPE_STR, &xs_cfg.titleFormat, "titleFormat"} }; const gint XS_CFGTABLE_MAX = (sizeof(xs_cfgtable) / sizeof(t_xs_cfg_item)); @@ -106,7 +106,13 @@ xs_cfg.mos8580 = FALSE; xs_cfg.emulateFilters = TRUE; xs_reset_filters(); + +#ifdef HAVE_SIDPLAY2 + xs_cfg.memoryMode = XS_MPU_REAL; +#else xs_cfg.memoryMode = XS_MPU_BANK_SWITCHING; +#endif + xs_cfg.clockSpeed = XS_CLOCK_PAL; xs_cfg.forceSpeed = FALSE;