mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Use _M_X86_64 for Baseblock static_assert ifdef
Fixes a 64-bit compilation issue.
This commit is contained in:
parent
ac7e7a79c3
commit
8387de09e2
|
@ -242,7 +242,7 @@ static void recLUT_SetPage(uptr reclut[0x10000], uptr hwlut[0x10000],
|
||||||
hwlut[page] = 0u - (pagebase << 16);
|
hwlut[page] = 0u - (pagebase << 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#if defined(_M_X86_64)
|
||||||
static_assert( sizeof(BASEBLOCK) == 8, "BASEBLOCK is not 8 bytes" );
|
static_assert( sizeof(BASEBLOCK) == 8, "BASEBLOCK is not 8 bytes" );
|
||||||
#else
|
#else
|
||||||
static_assert( sizeof(BASEBLOCK) == 4, "BASEBLOCK is not 4 bytes" );
|
static_assert( sizeof(BASEBLOCK) == 4, "BASEBLOCK is not 4 bytes" );
|
||||||
|
|
Loading…
Reference in New Issue