diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-08 18:31:52 -0500 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-08 19:37:23 -0500 |
commit | eb9f16dce48f517ea33aad4a59e369bc51fdf26a (patch) | |
tree | b65ead0a31c8539448b2c02361a82ecdcbcdf51b /src/tests | |
parent | f6477b91f9abe4ad4b4101f9f80ddb3412462a5d (diff) |
buffer_base: Partially revert changes from #9559
This fixes a regression where Yoshi's Crafted World (and potentially other titles) would enter an infinite loop when GPU Accuracy was set to "Normal"
Diffstat (limited to 'src/tests')
-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 1275cca24..734dbf4b6 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 == 1); + REQUIRE(num == 0); REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE)); REQUIRE(!buffer.IsRegionGpuModified(c + PAGE, PAGE)); buffer.FlushCachedWrites(); |