mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, chd support
This commit is contained in:
parent
37631374df
commit
4bb0b70ec8
9 changed files with 57 additions and 28 deletions
|
@ -326,3 +326,14 @@ int _flush_cache (char *addr, const int size, const int op)
|
|||
sceKernelIcacheInvalidateRange(addr, size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* stubs for libflac (embedded in libchdr) */
|
||||
int chown(const char *pathname, uid_t owner, gid_t group) { return -1; }
|
||||
int chmod(const char *pathname, mode_t mode) { return -1; }
|
||||
int utime(const char *filename, const struct utimbuf *times) { return -1; }
|
||||
int fseeko64(FILE *stream, _off64_t offset, int whence)
|
||||
{ return fseeko(stream, offset, whence); }
|
||||
_off64_t ftello64(FILE *stream)
|
||||
{ return ftello(stream); }
|
||||
int posix_memalign(void **memptr, size_t alignment, size_t size)
|
||||
{ *memptr = memalign(alignment, size); return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue