| 27 | namespace 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 | { |
no outgoing calls
no test coverage detected