diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-04 18:08:49 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-09 22:20:36 +0200 |
commit | 0e4d4b4beba3521dbadfe489b54309ba33dc65f2 (patch) | |
tree | ec9087c006f1a2dc65886e3db646020e0ef7f56c /src/tests/video_core/buffer_base.cpp | |
parent | Merge pull request #6573 from lat9nq/cpu-settings-cleanup-2 (diff) | |
download | yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar.gz yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar.bz2 yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar.lz yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar.xz yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.tar.zst yuzu-0e4d4b4beba3521dbadfe489b54309ba33dc65f2.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..cfcdc2253 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.ForEachDownloadRange(c, WORD, true, [&](u64 offset, u64 size) { ++num; }); buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { ++num; }); REQUIRE(num == 0); REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE)); |