summaryrefslogtreecommitdiff
path: root/src/common/virtual_buffer.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-07-20 17:40:04 -0400
committerGravatar Lioncash2020-07-20 17:48:00 -0400
commit26c6c71837728f8348602474f2dc884a1da0664e (patch)
treebafb61af6a4b7f6093d65ac650ab946d9fa537af /src/common/virtual_buffer.cpp
parentMerge pull request #4376 from ogniK5377/dark-wait-tree (diff)
downloadyuzu-26c6c71837728f8348602474f2dc884a1da0664e.tar.gz
yuzu-26c6c71837728f8348602474f2dc884a1da0664e.tar.xz
yuzu-26c6c71837728f8348602474f2dc884a1da0664e.zip
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
We can make use of emplace()'s return value to determine whether or not we need to perform an increment. emplace() performs no insertion if an element already exist, so this can eliminate a find() call.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions