mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-22 03:46:53 +02:00
fix ge
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user