rsx: Fix arm64 build
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run

This commit is contained in:
kd-11 2025-04-19 00:13:21 +03:00 committed by kd-11
parent 268de3cd24
commit 564c903fbd
2 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,14 @@
#include "util/v128.hpp"
#include "util/simd.hpp"
#if defined(ARCH_ARM64)
#if !defined(_MSC_VER)
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
#undef FORCE_INLINE
#include "Emu/CPU/sse2neon.h"
#endif
#if !defined(_MSC_VER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wold-style-cast"

View file

@ -45,7 +45,7 @@ namespace vk
{
const auto size_bytes = count * sizeof(T);
const auto addr = alloc<Alignment>(size_bytes);
return { addr, reinterpret_cast<T*>( map(addr, size_bytes)) };
return { addr, reinterpret_cast<T*>(map(addr, size_bytes)) };
}
void sync(const vk::command_buffer& cmd);