- replaced the C++ based file access wrapper in ZMusic with a C compatible version.
This commit is contained in:
parent
527fb40a5f
commit
0d000344ca
13 changed files with 144 additions and 52 deletions
|
|
@ -149,7 +149,7 @@ void skip(timidity_file *tf, size_t len)
|
|||
int tf_getc(timidity_file *tf)
|
||||
{
|
||||
unsigned char c;
|
||||
auto read = tf_read(&c, 1, 1, tf);
|
||||
auto read = tf_read(&c, 1, tf);
|
||||
return read == 0 ? EOF : c;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue