Skip to content

Commit

Permalink
pcsx2: Use _M_X86_64 for Baseblock static_assert ifdef
Browse files Browse the repository at this point in the history
Fixes a 64-bit compilation issue.
  • Loading branch information
turtleli committed Jul 23, 2016
1 parent ac7e7a7 commit 8387de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/x86/BaseblockEx.h
Expand Up @@ -242,7 +242,7 @@ static void recLUT_SetPage(uptr reclut[0x10000], uptr hwlut[0x10000],
hwlut[page] = 0u - (pagebase << 16);
}

#ifdef __x86_64__
#if defined(_M_X86_64)
static_assert( sizeof(BASEBLOCK) == 8, "BASEBLOCK is not 8 bytes" );
#else
static_assert( sizeof(BASEBLOCK) == 4, "BASEBLOCK is not 4 bytes" );
Expand Down

0 comments on commit 8387de0

Please sign in to comment.