mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
Clean up more Cemuhook leftovers (#253)
This commit is contained in:
parent
cebdccfdf5
commit
664d7ee902
7 changed files with 7 additions and 48 deletions
|
@ -105,15 +105,12 @@ namespace coreinit
|
|||
return 0;
|
||||
}
|
||||
|
||||
uint32 OSDynLoad_Release(uint32 moduleHandle)
|
||||
void OSDynLoad_Release(uint32 moduleHandle)
|
||||
{
|
||||
if (moduleHandle == RPL_INVALID_HANDLE)
|
||||
return 0;
|
||||
return;
|
||||
RPLLoader_RemoveDependency(moduleHandle);
|
||||
RPLLoader_UpdateDependencies();
|
||||
|
||||
// this function isn't supposed to return anything, but early versions of Cemu did and Cemuhook (up to 0.5.7.6) now relies on it. We still keep the return value around for compatibility
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32 OSDynLoad_FindExport(uint32 moduleHandle, uint32 isData, const char* exportName, betype<MPTR>* addrOut)
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace coreinit
|
|||
void OSDynLoad_AllocatorFree(void* mem);
|
||||
|
||||
uint32 OSDynLoad_Acquire(const char* libName, uint32be* moduleHandleOut);
|
||||
uint32 OSDynLoad_Release(uint32 moduleHandle);
|
||||
void OSDynLoad_Release(uint32 moduleHandle);
|
||||
uint32 OSDynLoad_FindExport(uint32 moduleHandle, uint32 isData, const char* exportName, betype<MPTR>* addrOut);
|
||||
|
||||
void InitializeDynLoad();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue