MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Unload

Function Unload

Source/SysPSP/Utility/ModulePSP.cpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace CModule
28{
29 void Unload( int id )
30 {
31 int ret {0}, status {0};
32 sceKernelStopModule(id, 0, nullptr, &status, nullptr); // Stop module first before unloading it
33
34 ret = sceKernelUnloadModule(id);
35
36 if(ret < 0)
37 {
38 printf("Couldn't unload module! : 0x%08X\n",ret);
39 }
40 }
41
42 int Load( const char *path )
43 {

Callers 2

InitializeFunction · 0.85
InitHomeButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected