diff options
| author | 2023-02-08 18:31:52 -0500 | |
|---|---|---|
| committer | 2023-02-08 19:37:23 -0500 | |
| commit | eb9f16dce48f517ea33aad4a59e369bc51fdf26a (patch) | |
| tree | b65ead0a31c8539448b2c02361a82ecdcbcdf51b /src/tests/video_core | |
| parent | Merge pull request #9747 from german77/SetSupportedNpadIdTypes (diff) | |
| download | yuzu-eb9f16dce48f517ea33aad4a59e369bc51fdf26a.tar.gz yuzu-eb9f16dce48f517ea33aad4a59e369bc51fdf26a.tar.xz yuzu-eb9f16dce48f517ea33aad4a59e369bc51fdf26a.zip | |
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/video_core')
| -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") { | |||
| 538 | int num = 0; | 538 | int num = 0; |
| 539 | buffer.ForEachDownloadRangeAndClear(c, WORD, [&](u64 offset, u64 size) { ++num; }); | 539 | buffer.ForEachDownloadRangeAndClear(c, WORD, [&](u64 offset, u64 size) { ++num; }); |
| 540 | buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { ++num; }); | 540 | buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { ++num; }); |
| 541 | REQUIRE(num == 1); | 541 | REQUIRE(num == 0); |
| 542 | REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE)); | 542 | REQUIRE(!buffer.IsRegionCpuModified(c + PAGE, PAGE)); |
| 543 | REQUIRE(!buffer.IsRegionGpuModified(c + PAGE, PAGE)); | 543 | REQUIRE(!buffer.IsRegionGpuModified(c + PAGE, PAGE)); |
| 544 | buffer.FlushCachedWrites(); | 544 | buffer.FlushCachedWrites(); |