no CMake? no problem!
This commit is contained in:
parent
763017886e
commit
42651f0b0c
11 changed files with 1707 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue