syscall function parameter
|
05-28-2013, 04:03 AM
Post: #1
|
|||
|
|||
syscall function parameter
const HLEFunction sceNetAdhocctl[] =
{ {...}, {...}, {0x20B317A0, WrapI_UU<sceNetAdhocctlAddHandler>, "sceNetAdhocctlAddHandler"}, ..., {...}, } typedef void(* sceNetAdhocctlHandler)(int flag, int error, void *unknown); int sceNetAdhocctlAddHandler(u32 handler, u32 unknown) { netActHandler = (sceNetAdhocctlHandler)Memory::GetPointer(handler); netActParam=(void*)unknown; // I know this function is not here call, just test if (netActHandler) netActHandler(3, 0, netActParam); // this will break when debug return 0; //return Handler id on success, < 0 on error. } Parameter handler point to function is not compile??? How to make it run well? My English is not good, don't dispute my grammar. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
syscall function parameter - Hubert - 05-28-2013 04:03 AM
RE: syscall function parameter - [Unknown] - 05-28-2013, 06:04 AM
RE: syscall function parameter - Hubert - 05-30-2013, 11:41 AM
RE: syscall function parameter - Denizen - 05-28-2013, 02:29 PM
|