mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 02:47:02 +02:00
Fix macOS aggregate test build (#536)
* tests: add Darwin memory test support * tests: fix x86_64 aggregate test build * tests: verify macOS memory and shader tests * tests: validate macOS death-test setup before fork --------- Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -9743,7 +9743,7 @@ public:
|
||||
std::memset(mapped, 0, allocation_size);
|
||||
for (uint32_t face = 0; face < layers; face++) {
|
||||
const auto depth = depth_at(face, false);
|
||||
for (const auto address : {base, ordinary_address}) {
|
||||
for (const auto address : {static_cast<uint64_t>(base), ordinary_address}) {
|
||||
std::memcpy(reinterpret_cast<void *>(address + face * 0x100),
|
||||
&depth, sizeof(depth));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user