mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-23 08:25:47 +01:00
Merge pull request #7106 from astrelsky/invalid_iterator_fix
Fixed invalid iterator usage
This commit is contained in:
commit
9ad6c26821
@ -314,8 +314,8 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) {
|
void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) {
|
||||||
placeholders.erase(it);
|
|
||||||
placeholder_host_pointers.erase(it->lower());
|
placeholder_host_pointers.erase(it->lower());
|
||||||
|
placeholders.erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return true when a given memory region is a "nieche" and the placeholders don't have to be
|
/// Return true when a given memory region is a "nieche" and the placeholders don't have to be
|
||||||
|
Loading…
Reference in New Issue
Block a user