Fix Debug Build Again

This commit is contained in:
RadWolfie 2017-11-07 01:38:06 -06:00
parent d709723e9d
commit 1be02b4a44
2 changed files with 29 additions and 32 deletions

View File

@ -1839,13 +1839,11 @@ static DWORD WINAPI EmuCreateDeviceProxy(LPVOID)
{
if (!g_bSupportsYUY2Overlay)
EmuWarning("YUY2 overlays are not supported in hardware, could be slow!");
else
{
else {
// Does the user want to use Hardware accelerated YUV surfaces?
if (g_XBVideo.GetHardwareYUV())
if (g_XBVideo.GetHardwareYUV()) {
DbgPrintf("EmuD3D8: Hardware accelerated YUV surfaces Enabled...\n");
else
{
} else {
g_bSupportsYUY2Overlay = false;
DbgPrintf("EmuD3D8: Hardware accelerated YUV surfaces Disabled...\n");
}

View File

@ -412,19 +412,18 @@ void EmuGenerateFS(Xbe::TLS *pTLS, void *pTLSData)
#ifdef _DEBUG_TRACE
// dump raw TLS data
if (pNewTLS == nullptr)
if (pNewTLS == nullptr) {
DbgPrintf("KRNL: TLS Non-Existant (OK)\n");
else
{
} else {
DbgPrintf("KRNL: TLS Data Dump...\n");
if (g_bPrintfOn)
{
for (uint32 v = 0; v < dwCopySize; v++) // Note : Don't dump dwZeroSize
{
if (g_bPrintfOn) {
for (uint32 v = 0; v < dwCopySize; v++) {// Note : Don't dump dwZeroSize
uint08 *bByte = (uint08*)pNewTLS + v;
if (v % 0x10 == 0)
if (v % 0x10 == 0) {
DbgPrintf("KRNL: 0x%.8X:", (xbaddr)bByte);
}
// Note : Use printf instead of DbgPrintf here, which prefixes with GetCurrentThreadId() :
printf(" %.2X", *bByte);