tc writes from a thread cause data abort, and sceKernelOpenVMDomain()
returns
80010058 which https://wiki.henkaku.xyz/vita/SceSblSsMgr mentions
as SCE_ERROR_ERRNO_ENOSYS, aka "Invalid system call number"?
PARTIAL_LINKING = 1
NO_MMAP := 1
NO_POSIX_MEMALIGN := 1
+ NDRC_THREAD := 0 # can't write to tc from thread
HAVE_PHYSICAL_CDROM = 0
EXTRA_EXTERN_SYMS += _newlib_vm_size_user
#include "../../frontend/libretro-rthreads.h"
#include "features/features_cpu.h"
#include "retro_timers.h"
-#ifdef VITA
-#include <psp2/kernel/sysmem.h>
-#endif
#endif
#ifdef _3DS
#include <3ds_utils.h>
void *target;
u32 addr;
-#ifdef VITA
- int ret = sceKernelOpenVMDomain();
- if (ret) SysPrintf("thread: sceKernelOpenVMDomain: %x\n", ret);
-#endif
slock_lock(ndrc_g.thread.lock);
while (!ndrc_g.thread.exit)
{