Mercurial > hg > sidinfo
diff sidinfo.c @ 319:6d0143e43edf
Add functionality and API changes for doing on-the-fly character set
conversion of STIL data and PSID header string fields while reading them.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 20:12:00 +0200 |
parents | f3ba2ba894b1 |
children | e315bed7d791 |
line wrap: on
line diff
--- a/sidinfo.c Sat Jan 11 19:11:34 2020 +0200 +++ b/sidinfo.c Sat Jan 11 20:12:00 2020 +0200 @@ -991,7 +991,7 @@ th_io_set_handlers(inFile, siPSIDError, NULL); // Read PSID data - if ((res = sidlib_read_sid_file_alloc(inFile, &psid, setSLDBNewFormat)) != THERR_OK) + if ((res = sidlib_read_sid_file_alloc(inFile, &psid, setSLDBNewFormat, NULL)) != THERR_OK) goto error; // Get songlength information, if any @@ -1287,7 +1287,7 @@ goto err2; } - if ((ret = sidlib_stildb_read(inFile, sidSTILDB)) != THERR_OK) + if ((ret = sidlib_stildb_read(inFile, sidSTILDB, NULL)) != THERR_OK) { THERR("Error parsing STIL: %s\n", th_error_str(ret));