Skip to content

Commit caed3a9

Browse files
capitalistspzp33k-a-b00
authored andcommitted
RPL: Remove incorrect ref count check (cemu-project#1942)
1 parent aaf2d53 commit caed3a9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Cafe/OS/RPL/rpl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,8 +2482,6 @@ void RPLLoader_UnloadAll()
24822482
cemu_assert_debug(dependency->referenceCount >= 0); // sanity check for ref count
24832483
if (!dependency->rplHLEModule)
24842484
continue;
2485-
if (dependency->referenceCount <= 0)
2486-
continue;
24872485
cemu_assert_debug(dependency->hleEntrypointCalled); // entrypoint should have been called
24882486
dependency->rplHLEModule->rpl_entry(dependency->coreinitHandle, coreinit::RplEntryReason::Unloaded);
24892487
dependency->rplHLEModule->RPLUnmapped();

0 commit comments

Comments
 (0)