2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

SMMU: Fix Unregister on MultiAddress

This commit is contained in:
Fernando Sahmkow 2023-12-29 09:27:37 +01:00 committed by Liam
parent 34a8d0cc8e
commit bad705f245

View file

@ -78,7 +78,7 @@ public:
u32 next_entry = current->next_entry; u32 next_entry = current->next_entry;
if (next_entry != 0) { if (next_entry != 0) {
next = &storage[next_entry - 1]; next = &storage[next_entry - 1];
more_than_one_remaining = next->next_entry != 0; more_than_one_remaining = next->next_entry != 0 || previous != nullptr;
} }
if (previous) { if (previous) {
previous->next_entry = next_entry; previous->next_entry = next_entry;