mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 09:08:01 -05:00
Common: Add proper macros to test for architecture pointer size
The old system of just defining macros available in some other platform
was susceptible to silently using the wrong code if you forgot to
include a particular header. This fixes a crash on non-Windows platforms
introduced by e1fbac3ca1
.
This commit is contained in:
@ -103,7 +103,7 @@ u32 HashEctor(const u8* ptr, int length)
|
||||
}
|
||||
|
||||
|
||||
#ifdef _M_X64
|
||||
#if EMU_ARCH_BITS == 64
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Block read - if your platform needs to do endian-swapping or can only
|
||||
|
Reference in New Issue
Block a user