This commit is contained in:
nmzik
2026-09-05 06:53:59 +04:00
parent 74a78f37d0
commit e8e580cf6c
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -3324,7 +3324,7 @@ public:
cache.GetBuffer(scored).CpuAddress() == stream_begin &&
cache.GetBuffer(scored).Size() == stream_page * 3 &&
cache.GetBuffer(scored).StreamScore() == 17,
"buffer range grew before the shadPS4 stream threshold");
"buffer range grew before the stream threshold");
const auto grown =
cache.FindBuffer(stream_begin + stream_page * 3 - 4, 8);
const auto &grown_buffer = cache.GetBuffer(grown);
+1 -1
View File
@@ -561,7 +561,7 @@ void TestFlexibleDmemCompatAndAlignmentFlags() {
SceKernelMapDmemCompat | SceKernelMapAligned64Kb, "dmem_compat"),
"KernelMapNamedFlexibleMemory(DMEM_COMPAT|ALIGNED_64KB)");
const auto base = reinterpret_cast<uint64_t>(address);
Check(test, (base & (0x10000 - 1u)) == 0, "SDK alignment flag was not honored");
Check(test, (base & (0x10000 - 1u)) == 0, "Requested alignment flag was not honored");
const auto info = Query(test, base);
Check(test, info.is_flexible == 1 && info.is_stack == 0,
"SCE_KERNEL_MAP_DMEM_COMPAT was misclassified as MAP_STACK");