fix Memory init failed on Linux x32 ABI

This commit is contained in:
Kenny Cheng 2023-07-03 15:36:44 +08:00 committed by GitHub
parent 1253e60d19
commit 8b7b7d3729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,11 @@
#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
#define PPSSPP_ARCH_AMD64 1
#define PPSSPP_ARCH_64BIT 1
#if defined(__ILP32__)
#define PPSSPP_ARCH_32BIT 1
#else
#define PPSSPP_ARCH_64BIT 1
#endif
//TODO: Remove this compat define
#ifndef _M_X64
#define _M_X64 1