Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Eternal Etude Canvas 4 ULJM05980
#11
I don't have this game to test, but you could try just a stub function, like:

Code:
int sceKernelRegisterThreadEventHandler(const char *name, SceUID threadId, int mask, u32 handlerAddr, u32 commonAddr) { DEBUG_LOG(SCEKERNEL, "sceKernelRegisterThreadEventHandler(name=%s, threadId=%x, mask=%x, handler=%08x, common=%08x)", name, threadId, mask, handlerAddr, commonAddr); // handlerInfo handler = new createHandler(name, threadId, mask, handlerAddr, commonAddr); Thread *t = kernelObjects.Get<Thread>(threadID, error); // TODO: Handle thread event if (t) { // Insert handler.uid and handler in to event handler map // Insert threadId and handler.uid in to event map // return handler.uid } else { // TODO } return SCE_KERNEL_ERROR_UNKNOWN_THID; }

in sceKernelThread.cpp

Matched with this:
Code:
{0x0C106E53,WrapI_CIIUU<sceKernelRegisterThreadEventHandler>,"sceKernelRegisterThreadEventHandler", HLE_NOT_IN_INTERRUPT},
in sceKernel.cpp

You can see what the debug log prints.
Reply


Messages In This Thread
Eternal Etude Canvas 4 ULJM05980 - by Tabman - 08-27-2013, 07:31 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by Tabman - 09-16-2013, 05:07 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by vnctdj - 09-16-2013, 05:09 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by sum2012 - 12-22-2013, 11:54 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by sum2012 - 12-28-2013, 10:05 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by sum2012 - 12-26-2013, 11:37 AM
RE: Eternal Etude Canvas 4 ULJM05980 - by Tabman - 05-01-2014, 11:22 AM
RE: Eternal Etude Canvas 4 ULJM05980 - by xsacha - 07-07-2014, 06:31 AM
RE: Eternal Etude Canvas 4 ULJM05980 - by sum2012 - 07-07-2014, 11:20 AM
RE: Eternal Etude Canvas 4 ULJM05980 - by Tabman - 09-28-2014, 03:28 PM
RE: Eternal Etude Canvas 4 ULJM05980 - by vnctdj - 12-30-2014, 02:02 PM

Forum Jump: