diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-07-10 22:06:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 22:06:19 +0200 |
commit | 907b2324d3a570ff726fe064ba425924d6dc0426 (patch) | |
tree | 1b3a16691ab5835900a5eee0a05a871b6b774a71 /src/tests | |
parent | Merge pull request #6573 from lat9nq/cpu-settings-cleanup-2 (diff) | |
parent | Buffer Cache: Address Feedback. (diff) | |
download | yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar.gz yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar.bz2 yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar.lz yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar.xz yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.tar.zst yuzu-907b2324d3a570ff726fe064ba425924d6dc0426.zip |
Diffstat (limited to '')
-rw-r--r-- | src/tests/video_core/buffer_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/video_core/buffer_base.cpp b/src/tests/video_core/buffer_base.cpp index edced69bb..9f5a54de4 100644 --- a/src/tests/video_core/buffer_base.cpp +++ b/src/tests/video_core/buffer_base.cpp @@ -536,7 +536,7 @@ TEST_CASE("BufferBase: Cached write downloads") { REQUIRE(rasterizer.Count() == 63); buffer.MarkRegionAsGpuModified(c + PAGE, PAGE); int num = 0; - buffer.ForEachDownloadRange(c, WORD, [&](u64 offset, u64 size) { ++num; }); + buffer.ForEachDownloadRangeAndClear(c, WORD, [&](u64 offset, u64 size) { ++num; }); buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { ++num; }); REQUIRE(num == 0); REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE)); |