Revert "Make g_bPrintfOn thread-safe"

This reverts commit 7552218dac.
This commit is contained in:
RadWolfie 2018-08-17 15:41:26 -05:00
parent 3a09751e9e
commit ded5a771c0
2 changed files with 2 additions and 4 deletions

View File

@ -34,8 +34,6 @@
#ifndef CXBX_H
#define CXBX_H
#include <atomic>
#define FUNC_EXPORTS __pragma(comment(linker, "/EXPORT:" __FUNCTION__ "=" __FUNCDNAME__))
/*! \name primitive typedefs */
@ -127,7 +125,7 @@ extern bool g_SaveOnExit;
#define MAXIMUM_XBOX_THREADS 256
/*! runtime DbgPrintf toggle boolean */
extern std::atomic_bool g_bPrintfOn;
extern volatile bool g_bPrintfOn;
#ifdef _MSC_VER
#pragma warning(disable : 4477)

View File

@ -60,7 +60,7 @@ HANDLE g_hCurDir = NULL;
CHAR *g_strCurDrive= NULL;
volatile thread_local bool g_bEmuException = false;
volatile bool g_bEmuSuspended = false;
std::atomic_bool g_bPrintfOn = true;
volatile bool g_bPrintfOn = true;
bool g_DisablePixelShaders = false;
bool g_UncapFramerate = false;
bool g_UseAllCores = false;