Added a universal 64-bit define, and a message indicating that Pcsx2 was compiled as 64 bit in the system information.

This commit is contained in:
arcum42 2019-06-16 17:33:17 -07:00
parent e6d42338ad
commit 563772fdf1
2 changed files with 9 additions and 1 deletions

View File

@ -241,3 +241,7 @@ static const int __pagesize = PCSX2_PAGESIZE;
#define __fc __fastcall
#endif
#if defined(__x86_64__) || defined(_M_AMD64)
#define __M_X86_64
#endif

View File

@ -262,7 +262,11 @@ void SysLogMachineCaps()
};
Console.WriteLn( Color_StrongBlack, L"x86 Features Detected:" );
Console.Indent().WriteLn( result[0] + (result[1].IsEmpty() ? L"" : (L"\n" + result[1])) );
Console.Indent().WriteLn(result[0] + (result[1].IsEmpty() ? L"" : (L"\n" + result[1])));
#ifdef __M_X86_64
Console.Indent().WriteLn("Pcsx2 was compiled as 64-bits, which is unsupported and breaks all recompilers.");
#endif
Console.Newline();
}