Search found 3 matches

by hyeokje
Sat Aug 08, 2009 1:45 pm
Forum: PSP Development
Topic: disable buttons in XMB menu
Replies: 34
Views: 12958

Can you use the oldButtons (or paddata_old) method to avoid the psp executing the thread faster ? I can use it, but in this case of hooking it isnt working. I tried to use this (but it crashes and shutdown): Btw, i found that method on MDL Sample Kernel. I think your problem is Note button presses ...
by hyeokje
Wed Aug 05, 2009 2:40 am
Forum: PSP Development
Topic: disable buttons in XMB menu
Replies: 34
Views: 12958

Torch wrote:You're not calling the previous startmodulehandler in your code. You haven't assigned the previous function pointer when setting startmodulehandler.
Wow, you're very nice. Thank you very much Torch.

I got it ~!

Code: Select all

previous = sctrlHENSetStartModuleHandler(OnModuleStart);
by hyeokje
Tue Aug 04, 2009 11:05 pm
Forum: PSP Development
Topic: disable buttons in XMB menu
Replies: 34
Views: 12958

Re: I cant get this code to work

#include <pspsdk.h> #include <pspctrl.h> #include <pspkernel.h> #include <systemctrl.h> #include <string.h> PSP_MODULE_INFO&#40;"myHold", 0x1000, 1, 1&#41;; STMOD_HANDLER previous = NULL; void &#40;* PatchSyscall&#41;&#40;u32 funcaddr, void *newfunc&#41;; int &...