Search found 7 matches

by tpu
Thu Jan 01, 2009 3:11 am
Forum: PSP Development
Topic: Registry Variable and Directory
Replies: 4
Views: 2164

int sceRegOpenCategory(REGHANDLE h, const char *name, int mode, REGHANDLE *hd);

mode==1 : O_RDONLY
mode==2 : O_CREAT
by tpu
Fri Nov 21, 2008 1:14 am
Forum: PSP Development
Topic: PSPlink printf problem
Replies: 3
Views: 2084

use this code:

Code: Select all

    int kout = sceKernelStdout();
    sceIoWrite(kout, buf, len);
by tpu
Tue Jan 29, 2008 1:47 am
Forum: PSP Development
Topic: help about scereg and sceIoGetstat
Replies: 7
Views: 2134

It's works!

sceRegFlushCategory call the ioctl to flush file at end of function, but I can ignore it. My prx works at game mode, I think there is no game writting registry.
by tpu
Tue Jan 29, 2008 12:37 am
Forum: PSP Development
Topic: help about scereg and sceIoGetstat
Replies: 7
Views: 2134

very thanks! I' will try first.
by tpu
Mon Jan 28, 2008 11:26 pm
Forum: PSP Development
Topic: help about scereg and sceIoGetstat
Replies: 7
Views: 2134

My firmware is 3.71M33-4.
by tpu
Mon Jan 28, 2008 8:13 pm
Forum: PSP Development
Topic: help about scereg and sceIoGetstat
Replies: 7
Views: 2134

If I call sceIoGetstat directly from my own prx(user mode), it works fine.
But if sceIoGetstat called by sceRegOpenRegistry, it failed. The params was same: ("ms0:/registry", &stat)
by tpu
Mon Jan 28, 2008 3:13 pm
Forum: PSP Development
Topic: help about scereg and sceIoGetstat
Replies: 7
Views: 2134

help about scereg and sceIoGetstat

1. I make a kernel prx as plugin. 2. In my prx, I patched the scereg module: find the string "flash1:", change it to "ms0:". scereg will use this string to open registry file. 3. In another user mode prx, I want open registry file on ms0 using sceRegOpenRegistry, but it return fa...