Mercurial > hg > xmms-sid
diff src/xs_sidplay1.cpp @ 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 | a5b118c853f5 |
children |
line wrap: on
line diff
--- a/src/xs_sidplay1.cpp Tue Nov 20 22:39:27 2012 +0200 +++ b/src/xs_sidplay1.cpp Tue Nov 20 23:00:33 2012 +0200 @@ -395,7 +395,7 @@ info.infoString[0], info.infoString[1], info.infoString[2], info.loadAddr, info.initAddr, info.playAddr, info.dataFileLen, info.formatString, - info.sidModel + info.sidModel, XS_SIDMODEL_UNKNOWN ); error: @@ -428,7 +428,8 @@ /* NOTICE! Here we assume that libSIDPlay[12] headers define * SIDTUNE_SIDMODEL_* similarly to our enums in xs_config.h ... */ - state->tuneInfo->sidModel = info.sidModel; + state->tuneInfo->sidModel1 = info.sidModel; + state->tuneInfo->sidModel2 = XS_SIDMODEL_UNKNOWN; if (state->currSong > 0 && state->currSong <= state->tuneInfo->nsubTunes) {