From 3ed65fce0d86be1ea6071c47e0853ef1d7103f65 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sat, 28 Feb 2009 22:45:19 +0000 Subject: [PATCH] Fix debug build git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2486 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoDX9/Src/BPStructs.cpp | 8 ++++---- Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/BPStructs.cpp b/Source/Plugins/Plugin_VideoDX9/Src/BPStructs.cpp index 5b2340af3d..a043aadeca 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/BPStructs.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/BPStructs.cpp @@ -429,23 +429,23 @@ void BPWritten(int addr, int changes, int newval) { case 0x02: g_VideoInitialize.pSetPEFinish(); // may generate interrupt - DEBUG_LOG("GXSetDrawDone SetPEFinish (value: 0x%02X)", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "GXSetDrawDone SetPEFinish (value: 0x%02X)", (newval & 0xFFFF)); break; default: - DEBUG_LOG("GXSetDrawDone ??? (value 0x%02X)", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "GXSetDrawDone ??? (value 0x%02X)", (newval & 0xFFFF)); break; } break; case BPMEM_PE_TOKEN_ID: g_VideoInitialize.pSetPEToken(static_cast(newval & 0xFFFF), FALSE); - DEBUG_LOG("SetPEToken 0x%04x", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "SetPEToken 0x%04x", (newval & 0xFFFF)); break; case BPMEM_PE_TOKEN_INT_ID: g_VideoInitialize.pSetPEToken(static_cast(newval & 0xFFFF), TRUE); - DEBUG_LOG("SetPEToken + INT 0x%04x", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "SetPEToken + INT 0x%04x", (newval & 0xFFFF)); break; case 0x67: // set gp metric? diff --git a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp index a59dee2f85..f30dd08088 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp @@ -341,23 +341,23 @@ void BPWritten(int addr, int changes, int newval) { case 0x02: g_VideoInitialize.pSetPEFinish(); // may generate interrupt - DEBUG_LOG("GXSetDrawDone SetPEFinish (value: 0x%02X)", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "GXSetDrawDone SetPEFinish (value: 0x%02X)", (newval & 0xFFFF)); break; default: - DEBUG_LOG("GXSetDrawDone ??? (value 0x%02X)", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "GXSetDrawDone ??? (value 0x%02X)", (newval & 0xFFFF)); break; } break; case BPMEM_PE_TOKEN_ID: g_VideoInitialize.pSetPEToken(static_cast(newval & 0xFFFF), FALSE); - DEBUG_LOG("SetPEToken 0x%04x", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "SetPEToken 0x%04x", (newval & 0xFFFF)); break; case BPMEM_PE_TOKEN_INT_ID: g_VideoInitialize.pSetPEToken(static_cast(newval & 0xFFFF), TRUE); - DEBUG_LOG("SetPEToken + INT 0x%04x", (newval & 0xFFFF)); + DEBUG_LOG(VIDEO, "SetPEToken + INT 0x%04x", (newval & 0xFFFF)); break; case BPMEM_SETGPMETRIC: // Set gp metric?