Mercurial > hg > xmms-sid
diff src/xs_slsup.c @ 961:be2a8436461a dev-0_8_99
Add display of second SID chip to titles, and also new custom format tokens
%1 and %2 for first and second SID respectively. The old "%m" now expands to
one or both SID models, depending how many are in use.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Nov 2012 23:00:33 +0200 |
parents | 5048b4799310 |
children |
line wrap: on
line diff
--- a/src/xs_slsup.c Tue Nov 20 22:39:27 2012 +0200 +++ b/src/xs_slsup.c Tue Nov 20 23:00:33 2012 +0200 @@ -220,7 +220,8 @@ gint nsubTunes, gint startTune, const gchar * sidName, const gchar * sidComposer, const gchar * sidCopyright, gint loadAddr, gint initAddr, gint playAddr, - gint dataFileLen, const gchar *sidFormat, gint sidModel) + gint dataFileLen, const gchar *sidFormat, + gint sidModel1, gint sidModel2) { XSTuneInfo *result; XSSLDBNode *tmpLength; @@ -269,7 +270,8 @@ result->dataFileLen = dataFileLen; result->sidFormat = XS_CS_SID(sidFormat); - result->sidModel = sidModel; + result->sidModel1 = sidModel1; + result->sidModel2 = sidModel2; /* Get length information (NOTE: Do not free this!) */ tmpLength = xs_songlen_get(filename);