mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-07 07:04:57 -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
|
cemu_assert_debug(dependency->referenceCount >= 0); // sanity check for ref count
|
||||||
if (!dependency->rplHLEModule)
|
if (!dependency->rplHLEModule)
|
||||||
continue;
|
continue;
|
||||||
if (dependency->referenceCount <= 0)
|
|
||||||
continue;
|
|
||||||
cemu_assert_debug(dependency->hleEntrypointCalled); // entrypoint should have been called
|
cemu_assert_debug(dependency->hleEntrypointCalled); // entrypoint should have been called
|
||||||
dependency->rplHLEModule->rpl_entry(dependency->coreinitHandle, coreinit::RplEntryReason::Unloaded);
|
dependency->rplHLEModule->rpl_entry(dependency->coreinitHandle, coreinit::RplEntryReason::Unloaded);
|
||||||
dependency->rplHLEModule->RPLUnmapped();
|
dependency->rplHLEModule->RPLUnmapped();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user