mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-06 14:44:59 -06:00
RPL: Remove incorrect ref count check (#1942)
This commit is contained in:
parent
a02ba9d82b
commit
591e721dc0
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user