no CMake? no problem!

This commit is contained in:
tildearrow 2025-10-23 03:09:09 -05:00
parent 763017886e
commit 42651f0b0c
11 changed files with 1707 additions and 9 deletions

View file

@ -54,7 +54,13 @@ sf_count_t SFWrapper::ioGetSize() {
}
sf_count_t SFWrapper::ioSeek(sf_count_t offset, int whence) {
return fseek(f,offset,whence);
printf("SFWrapper: SEEK!\n");
fseek(f,offset,whence);
long ret=ftell(f);
if (ret<0) {
return -1;
}
return ret;
}
sf_count_t SFWrapper::ioRead(void* ptr, sf_count_t count) {