diff sidlib.h @ 128:2636185649c6

Add si_fread_str() helper function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 Oct 2016 11:58:52 +0300
parents c1462b7880e8
children c2d2369feadc
line wrap: on
line diff
--- a/sidlib.h	Thu Oct 27 11:52:58 2016 +0300
+++ b/sidlib.h	Thu Oct 27 11:58:52 2016 +0300
@@ -51,9 +51,9 @@
         nSongs,          // Number of subsongs
         startSong;       // Default starting song
     uint32_t speed;      // Speed
-    char sidName[PSID_STR_LEN + 1];    // Descriptive text-fields, ASCIIZ
-    char sidAuthor[PSID_STR_LEN + 1];
-    char sidCopyright[PSID_STR_LEN + 1];
+    char *sidName;       // Descriptive text-fields, ASCIIZ
+    char *sidAuthor;
+    char *sidCopyright;
 
     // PSIDv2 data
     uint16_t flags;      // Flags