changeset 95:4e929bb71057

Fixes and improvements
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 10 Jan 2004 22:53:04 +0000
parents 086681f70910
children 3898d4fdbd49
files src/xs_sidplay.h
diffstat 1 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_sidplay.h	Sat Jan 10 22:53:00 2004 +0000
+++ b/src/xs_sidplay.h	Sat Jan 10 22:53:04 2004 +0000
@@ -139,7 +139,7 @@
  t_xs_tune *pResult;
  TTUNEINFO tuneInfo;
  TTUNE *testTune;
- gboolean haveInfo = false;
+ gboolean haveInfo = FALSE;
  gint i;
 
  /* Check if the tune exists and is readable */
@@ -153,7 +153,14 @@
 	}
 
  /* Get general tune information */
+#ifdef _XS_SIDPLAY1_H
  haveInfo = testTune->getInfo(tuneInfo);
+#endif
+#ifdef _XS_SIDPLAY2_H
+ tuneInfo = testTune->getInfo();
+ haveInfo = TRUE;
+#endif
+
 
  /* Get length information (NOTE: Do not free this!) */
  tuneLen = xs_songlen_get(pcFilename);
@@ -187,4 +194,8 @@
  return pResult;
 }
 
-
+/* Undefine these */
+#undef TFUNCTION1
+#undef TFUNCTION2
+#undef TTUNEINFO
+#undef TTUNE