core, libretro fixes for chd support

This commit is contained in:
kub 2021-03-10 23:07:25 +01:00
parent 3d1e252313
commit 886ce067c3
6 changed files with 13 additions and 7 deletions

View file

@ -328,6 +328,9 @@ int _flush_cache (char *addr, const int size, const int op)
}
/* stubs for libflac (embedded in libchdr) */
#include <utime.h>
#include <malloc.h>
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; }