RPL: Remove incorrect ref count check (#1942)
Some checks are pending
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run

This commit is contained in:
capitalistspz
2026-06-02 18:55:09 +00:00
committed by GitHub
parent a02ba9d82b
commit 591e721dc0

View File

@@ -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();