Fix Debug Build Again
This commit is contained in:
parent
d709723e9d
commit
1be02b4a44
|
@ -1839,13 +1839,11 @@ static DWORD WINAPI EmuCreateDeviceProxy(LPVOID)
|
||||||
{
|
{
|
||||||
if (!g_bSupportsYUY2Overlay)
|
if (!g_bSupportsYUY2Overlay)
|
||||||
EmuWarning("YUY2 overlays are not supported in hardware, could be slow!");
|
EmuWarning("YUY2 overlays are not supported in hardware, could be slow!");
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
// Does the user want to use Hardware accelerated YUV surfaces?
|
// 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");
|
DbgPrintf("EmuD3D8: Hardware accelerated YUV surfaces Enabled...\n");
|
||||||
else
|
} else {
|
||||||
{
|
|
||||||
g_bSupportsYUY2Overlay = false;
|
g_bSupportsYUY2Overlay = false;
|
||||||
DbgPrintf("EmuD3D8: Hardware accelerated YUV surfaces Disabled...\n");
|
DbgPrintf("EmuD3D8: Hardware accelerated YUV surfaces Disabled...\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -412,19 +412,18 @@ void EmuGenerateFS(Xbe::TLS *pTLS, void *pTLSData)
|
||||||
|
|
||||||
#ifdef _DEBUG_TRACE
|
#ifdef _DEBUG_TRACE
|
||||||
// dump raw TLS data
|
// dump raw TLS data
|
||||||
if (pNewTLS == nullptr)
|
if (pNewTLS == nullptr) {
|
||||||
DbgPrintf("KRNL: TLS Non-Existant (OK)\n");
|
DbgPrintf("KRNL: TLS Non-Existant (OK)\n");
|
||||||
else
|
} else {
|
||||||
{
|
|
||||||
DbgPrintf("KRNL: TLS Data Dump...\n");
|
DbgPrintf("KRNL: TLS Data Dump...\n");
|
||||||
if (g_bPrintfOn)
|
if (g_bPrintfOn) {
|
||||||
{
|
for (uint32 v = 0; v < dwCopySize; v++) {// Note : Don't dump dwZeroSize
|
||||||
for (uint32 v = 0; v < dwCopySize; v++) // Note : Don't dump dwZeroSize
|
|
||||||
{
|
|
||||||
uint08 *bByte = (uint08*)pNewTLS + v;
|
uint08 *bByte = (uint08*)pNewTLS + v;
|
||||||
|
|
||||||
if (v % 0x10 == 0)
|
if (v % 0x10 == 0) {
|
||||||
DbgPrintf("KRNL: 0x%.8X:", (xbaddr)bByte);
|
DbgPrintf("KRNL: 0x%.8X:", (xbaddr)bByte);
|
||||||
|
}
|
||||||
|
|
||||||
// Note : Use printf instead of DbgPrintf here, which prefixes with GetCurrentThreadId() :
|
// Note : Use printf instead of DbgPrintf here, which prefixes with GetCurrentThreadId() :
|
||||||
printf(" %.2X", *bByte);
|
printf(" %.2X", *bByte);
|
||||||
|
|
Loading…
Reference in New Issue