mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-11 01:25:15 +02:00
RPL: Remove incorrect ref count check (#1942)
This commit is contained in:
@@ -2486,8 +2486,6 @@ void RPLLoader_UnloadAll()
|
||||
cemu_assert_debug(dependency->referenceCount >= 0); // sanity check for ref count
|
||||
if (!dependency->rplHLEModule)
|
||||
continue;
|
||||
if (dependency->referenceCount <= 0)
|
||||
continue;
|
||||
cemu_assert_debug(dependency->hleEntrypointCalled); // entrypoint should have been called
|
||||
dependency->rplHLEModule->rpl_entry(dependency->coreinitHandle, coreinit::RplEntryReason::Unloaded);
|
||||
dependency->rplHLEModule->RPLUnmapped();
|
||||
|
||||
Reference in New Issue
Block a user