Minor cleanup with GOLD define - only use it in System_GetPropertyInt

This commit is contained in:
Henrik Rydgard committed 2017-04-05 16:21:08 +02:00
1 parent 3ae13f3c05
commit cf365bb257
15 files changed
+92 -54

No files matched your search

+4 -10
View File
@@ -388,28 +388,22 @@ void System_Wake() {
}
}
// Ugly!
static bool pspIsInited = false;
static bool pspIsIniting = false;
static bool pspIsQuiting = false;
// Ugly!
bool PSP_InitStart(const CoreParameter &coreParam, std::string *error_string) {
if (pspIsIniting || pspIsQuiting) {
return false;
}
#ifdef GOLD
const char *gold = " Gold";
#else
const char *gold = "";
#endif
#if defined(_WIN32) && defined(_M_X64)
INFO_LOG(BOOT, "PPSSPP%s %s Windows 64 bit", gold, PPSSPP_GIT_VERSION);
INFO_LOG(BOOT, "PPSSPP %s Windows 64 bit", PPSSPP_GIT_VERSION);
#elif defined(_WIN32) && !defined(_M_X64)
INFO_LOG(BOOT, "PPSSPP%s %s Windows 32 bit", gold, PPSSPP_GIT_VERSION);
INFO_LOG(BOOT, "PPSSPP %s Windows 32 bit", PPSSPP_GIT_VERSION);
#else
INFO_LOG(BOOT, "PPSSPP%s %s", gold, PPSSPP_GIT_VERSION);
INFO_LOG(BOOT, "PPSSPP %s", PPSSPP_GIT_VERSION);
#endif
GraphicsContext *temp = coreParameter.graphicsContext;