rsx: Fix arm64 build

This commit is contained in:
kd-11 2025-04-19 00:13:21 +03:00
parent b14b1389cb
commit 99a3ee2ef6
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);