From 3bf2fcacf0e1afd1340b6642b39f98e13917e3b5 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Wed, 15 Jan 2014 22:02:47 +0800 Subject: [PATCH] Make Log display Windows 32 or 64 bit Some games have problem in windows 64 bit --- Core/System.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Core/System.cpp b/Core/System.cpp index f73504f5b2..2ef66066b4 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -303,8 +303,13 @@ void System_Wake() { static bool pspIsInited = false; bool PSP_Init(const CoreParameter &coreParam, std::string *error_string) { +#if defined(_WIN32) && defined(_M_X64) + INFO_LOG(BOOT, "PPSSPP %s Windows 64 bit", PPSSPP_GIT_VERSION); +#elif defined(_WIN32) && !defined(_M_X64) + INFO_LOG(BOOT, "PPSSPP %s Windows 32 bit", PPSSPP_GIT_VERSION); +#else INFO_LOG(BOOT, "PPSSPP %s", PPSSPP_GIT_VERSION); - +#endif coreParameter = coreParam; coreParameter.errorString = "";