Mercurial > hg > xmms-sid
changeset 100:426e443240b8
Minor tweaks
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 11 Jan 2004 00:40:02 +0000 |
parents | 2bc56809ec0b |
children | 4614f58ab169 |
files | src/xmms-sid.h src/xs_sidplay.h |
diffstat | 2 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmms-sid.h Sat Jan 10 23:51:04 2004 +0000 +++ b/src/xmms-sid.h Sun Jan 11 00:40:02 2004 +0000 @@ -41,7 +41,7 @@ /* * Some defines */ -/*#define DEBUG */ +#define DEBUG #undef HAVE_HARDSID_BUILDER /* HardSID-support is not working and is untested */ /*
--- a/src/xs_sidplay.h Sat Jan 10 23:51:04 2004 +0000 +++ b/src/xs_sidplay.h Sun Jan 11 00:40:02 2004 +0000 @@ -80,7 +80,6 @@ pcResult = xmms_get_titlestring(xmms_get_gentitle_format(), ptInput); /* Dispose all allocated memory */ - g_free(ptInput->file_ext); g_free(ptInput->date); g_free(ptInput->genre); g_free(ptInput); @@ -139,7 +138,7 @@ t_xs_tune *pResult; TTUNEINFO tuneInfo; TTUNE *testTune; - gboolean haveInfo = FALSE; + gboolean haveInfo = TRUE; gint i; /* Check if the tune exists and is readable */ @@ -157,11 +156,10 @@ haveInfo = testTune->getInfo(tuneInfo); #endif #ifdef _XS_SIDPLAY2_H - tuneInfo = testTune->getInfo(); + testTune->getInfo(tuneInfo); haveInfo = TRUE; #endif - /* Get length information (NOTE: Do not free this!) */ tuneLen = xs_songlen_get(pcFilename);