comparison sidinfo.c @ 402:95a8e05dae27

Sync with th-libs API changes.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Feb 2023 23:37:59 +0200
parents 600bd0c3dd83
children 39cebb2b0677
comparison
equal deleted inserted replaced
401:600bd0c3dd83 402:95a8e05dae27
986 break; 986 break;
987 } 987 }
988 } 988 }
989 989
990 990
991 void siPSIDError(th_ioctx *fh, const int err, const char *msg) 991 void siPSIDError(th_ioctx_t *fh, const int err, const char *msg)
992 { 992 {
993 (void) err; 993 (void) err;
994 THERR("%s - %s\n", msg, fh->filename); 994 THERR("%s - %s\n", msg, fh->filename);
995 } 995 }
996 996
997 997
998 bool siHandleSIDFile(const char *filename) 998 bool siHandleSIDFile(const char *filename)
999 { 999 {
1000 SIDLibPSIDHeader *psid = NULL; 1000 SIDLibPSIDHeader *psid = NULL;
1001 th_ioctx *infh = NULL; 1001 th_ioctx_t *infh = NULL;
1002 FILE *outfh; 1002 FILE *outfh;
1003 bool shown = false; 1003 bool shown = false;
1004 int res; 1004 int res;
1005 1005
1006 outfh = stdout; 1006 outfh = stdout;