mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
add CI for psp
This commit is contained in:
parent
ccc39358b0
commit
70ef073f66
3 changed files with 30 additions and 4 deletions
|
@ -321,15 +321,22 @@ end:
|
|||
|
||||
/* 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; }
|
||||
int posix_memalign(void **memptr, size_t alignment, size_t size)
|
||||
{ *memptr = memalign(alignment, size); return 0; }
|
||||
#endif
|
||||
|
||||
#include <malloc.h>
|
||||
#include <errno.h>
|
||||
|
||||
int posix_memalign(void **p, size_t align, size_t size)
|
||||
{
|
||||
if (p)
|
||||
*p = memalign(align, size);
|
||||
return (p ? *p ? 0 : ENOMEM : EINVAL);
|
||||
}
|
||||
|
||||
int _flush_cache (char *addr, const int size, const int op)
|
||||
{
|
||||
//sceKernelDcacheWritebackAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue