summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 12:43:54 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-01-05 20:00:10 +0100
commitb56ad93bbc9ac38820c1e1cb4b03256dd50aa17a (patch)
tree329e2e9e818cf88753b86d01b3351ba1f2d6eb2e /src/tests
parentFermi2D: sync cache flushes (diff)
downloadyuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.gz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.bz2
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.lz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.xz
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.zst
yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.zip
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/video_core/buffer_base.cpp2
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 f7236afab..5cd0628f2 100644
--- a/src/tests/video_core/buffer_base.cpp
+++ b/src/tests/video_core/buffer_base.cpp
@@ -538,7 +538,7 @@ TEST_CASE("BufferBase: Cached write downloads") {
int num = 0;
buffer.ForEachDownloadRangeAndClear(c, WORD, [&](u64 offset, u64 size) { ++num; });
buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { ++num; });
- REQUIRE(num == 0);
+ REQUIRE(num == 1);
REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE));
REQUIRE(!buffer.IsRegionGpuModified(c + PAGE, PAGE));
buffer.FlushCachedWrites();