Search found 3 matches
- Sat Aug 08, 2009 1:45 pm
- Forum: PSP Development
- Topic: disable buttons in XMB menu
- Replies: 34
- Views: 13725
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 ...
- Wed Aug 05, 2009 2:40 am
- Forum: PSP Development
- Topic: disable buttons in XMB menu
- Replies: 34
- Views: 13725
Wow, you're very nice. Thank you very much Torch.Torch wrote:You're not calling the previous startmodulehandler in your code. You haven't assigned the previous function pointer when setting startmodulehandler.
I got it ~!
Code: Select all
previous = sctrlHENSetStartModuleHandler(OnModuleStart);
- Tue Aug 04, 2009 11:05 pm
- Forum: PSP Development
- Topic: disable buttons in XMB menu
- Replies: 34
- Views: 13725
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("myHold", 0x1000, 1, 1); STMOD_HANDLER previous = NULL; void (* PatchSyscall)(u32 funcaddr, void *newfunc); int &...