示例#1
0
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);
}
示例#2
0
文件: fs_hooks.c 项目: 173210/VHL
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);
}
示例#3
0
文件: fs_hooks.c 项目: 173210/VHL
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);
}
示例#4
0
文件: fs_hooks.c 项目: 173210/VHL
int hook_sceIoRmdir(const char *path)
{
        state_machine_checkState();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, path);
        return sceIoRmdir(tmp);
}
示例#5
0
文件: fs_hooks.c 项目: 173210/VHL
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);
}
示例#6
0
文件: fs_hooks.c 项目: 173210/VHL
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);
}
示例#7
0
文件: fs_hooks.c 项目: 173210/VHL
SceUID hook_sceIoDopen(const char *dirname)
{
        state_machine_checkState();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, dirname);
        return sceIoDopen(tmp);
}
示例#8
0
文件: fs_hooks.c 项目: 173210/VHL
int hook_sceIoRemove(const char *file)
{
        state_machine_checkState();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, file);
        return sceIoRemove(tmp);
}
示例#9
0
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);
}
示例#10
0
int hook_sceIoRmdir(const char *path)
{
        sceKernelCheckCallback();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, path);
        return sceIoRmdir(tmp);
}
示例#11
0
int hook_sceIoMkdir(const char *dir, SceMode mode)
{
        sceKernelCheckCallback();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, dir);
        return sceIoMkdir(tmp, mode);
}
示例#12
0
SceUID hook_sceIoDopen(const char *dirname)
{
        sceKernelCheckCallback();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, dirname);
        return sceIoDopen(tmp);
}
示例#13
0
int hook_sceIoRemove(const char *file)
{
        sceKernelCheckCallback();

        char tmpPath[MAX_PATH_LENGTH];
        char *tmp=TranslateVFS(tmpPath, file);
        return sceIoRemove(tmp);
}
示例#14
0
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);
}