int hook_sceIoRename (const char *oldname, const char *newname) { sceKernelCheckCallback(); char o_tmpPath[MAX_PATH_LENGTH]; char n_tmpPath[MAX_PATH_LENGTH]; char *o_tmp = TranslateVFS(o_tmpPath, oldname); char *n_tmp = TranslateVFS(n_tmpPath, newname); return sceIoRename(o_tmp, n_tmp); }
int hook_sceIoRename (const char *oldname, const char *newname) { state_machine_checkState(); char o_tmpPath[MAX_PATH_LENGTH]; char n_tmpPath[MAX_PATH_LENGTH]; char *o_tmp = TranslateVFS(o_tmpPath, oldname); char *n_tmp = TranslateVFS(n_tmpPath, newname); return sceIoRename(o_tmp, n_tmp); }
int hook_sceIoChstat(const char *file, SceIoStat *stat, int bits) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, file); return sceIoChstat(tmp, stat, bits); }
int hook_sceIoRmdir(const char *path) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, path); return sceIoRmdir(tmp); }
int hook_sceIoMkdir(const char *dir, SceMode mode) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, dir); return sceIoMkdir(tmp, mode); }
SceUID hook_sceIoOpen(const char* path, int flags, SceMode m) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp = TranslateVFS(tmpPath, path); return sceIoOpen(tmp, flags, m); }
SceUID hook_sceIoDopen(const char *dirname) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, dirname); return sceIoDopen(tmp); }
int hook_sceIoRemove(const char *file) { state_machine_checkState(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, file); return sceIoRemove(tmp); }
int hook_sceIoChstat(const char *file, SceIoStat *stat, int bits) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, file); return sceIoChstat(tmp, stat, bits); }
int hook_sceIoRmdir(const char *path) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, path); return sceIoRmdir(tmp); }
int hook_sceIoMkdir(const char *dir, SceMode mode) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, dir); return sceIoMkdir(tmp, mode); }
SceUID hook_sceIoDopen(const char *dirname) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, dirname); return sceIoDopen(tmp); }
int hook_sceIoRemove(const char *file) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp=TranslateVFS(tmpPath, file); return sceIoRemove(tmp); }
SceUID hook_sceIoOpen(const char* path, int flags, SceMode m) { sceKernelCheckCallback(); char tmpPath[MAX_PATH_LENGTH]; char *tmp = TranslateVFS(tmpPath, path); return sceIoOpen(tmp, flags, m); }