comparison sidlib.h @ 386:94ff750679a6

Implement sidlib_write_sid_header() function.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Jan 2022 16:25:42 +0200
parents 1049033c6bbd
children c96448875797
comparison
equal deleted inserted replaced
385:1049033c6bbd 386:94ff750679a6
170 // 170 //
171 int sidlib_read_sid_file(th_ioctx *ctx, SIDLibPSIDHeader *psid, const BOOL newSLDB, SIDLibChConvCtx *chconv); 171 int sidlib_read_sid_file(th_ioctx *ctx, SIDLibPSIDHeader *psid, const BOOL newSLDB, SIDLibChConvCtx *chconv);
172 int sidlib_read_sid_file_alloc(th_ioctx *ctx, SIDLibPSIDHeader **ppsid, const BOOL newSLDB, SIDLibChConvCtx *chconv); 172 int sidlib_read_sid_file_alloc(th_ioctx *ctx, SIDLibPSIDHeader **ppsid, const BOOL newSLDB, SIDLibChConvCtx *chconv);
173 void sidlib_free_sid_file(SIDLibPSIDHeader *psid); 173 void sidlib_free_sid_file(SIDLibPSIDHeader *psid);
174 174
175 int sidlib_write_sid_header(th_ioctx *ctx, const SIDLibPSIDHeader *psid);
176
175 const char * sidlib_get_sid_clock_str(const int flags); 177 const char * sidlib_get_sid_clock_str(const int flags);
176 const char * sidlib_get_sid_model_str(const int flags); 178 const char * sidlib_get_sid_model_str(const int flags);
177 179
178 int sidlib_sldb_new(SIDLibSLDB **pdbh); 180 int sidlib_sldb_new(SIDLibSLDB **pdbh);
179 int sidlib_sldb_read(th_ioctx *ctx, SIDLibSLDB *dbh); 181 int sidlib_sldb_read(th_ioctx *ctx, SIDLibSLDB *dbh);