diff options
| author | 2021-09-29 09:35:01 -0700 | |
|---|---|---|
| committer | 2021-09-29 09:35:01 -0700 | |
| commit | 9ad6c268212e053ec9f41446c5567400cdd1c1df (patch) | |
| tree | 6b498abd90cb80e1d5c8c942fa584b2da72e9970 | |
| parent | Merge pull request #7018 from lat9nq/splat-stubs (diff) | |
| parent | Fixed invalid iterator usage (diff) | |
| download | yuzu-9ad6c268212e053ec9f41446c5567400cdd1c1df.tar.gz yuzu-9ad6c268212e053ec9f41446c5567400cdd1c1df.tar.xz yuzu-9ad6c268212e053ec9f41446c5567400cdd1c1df.zip | |
Merge pull request #7106 from astrelsky/invalid_iterator_fix
Fixed invalid iterator usage
Diffstat (limited to '')
| -rw-r--r-- | src/common/host_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 6661244cf..b44a44949 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp | |||
| @@ -314,8 +314,8 @@ private: | |||
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) { | 316 | void UntrackPlaceholder(boost::icl::separate_interval_set<size_t>::iterator it) { |
| 317 | placeholders.erase(it); | ||
| 318 | placeholder_host_pointers.erase(it->lower()); | 317 | placeholder_host_pointers.erase(it->lower()); |
| 318 | placeholders.erase(it); | ||
| 319 | } | 319 | } |
| 320 | 320 | ||
| 321 | /// Return true when a given memory region is a "nieche" and the placeholders don't have to be | 321 | /// Return true when a given memory region is a "nieche" and the placeholders don't have to be |