diff options
| author | Mat M <mathew1800@gmail.com> | 2016-10-02 16:51:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-02 16:51:44 -0400 |
| commit | ccfc0816974bde303ac62bfad019a41ff6fb13f0 (patch) | |
| tree | ab4fdc886468cf8bd4ccbb8618354e7b0af82a3d /Source/Core/VideoCommon | |
| parent | 2e4ef57b47c1ef06ede4121d4b22ad60abe19082 (diff) | |
| parent | f0aa9b3751f4c3efeb3b1794991533d3d4616d03 (diff) | |
Merge pull request #4245 from aldelaro5/logs-levels-changes
Lots of Logs levels changes (also enable INFO level in every build)
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.cpp | 14 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/XFStructs.cpp | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index d038b382c6..56c3fe757e 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/CommandProcessor.cpp @@ -325,13 +325,13 @@ void UpdateInterrupts(u64 userdata) if (userdata) { s_interrupt_set.Set(); - INFO_LOG(COMMANDPROCESSOR, "Interrupt set"); + DEBUG_LOG(COMMANDPROCESSOR, "Interrupt set"); ProcessorInterface::SetInterrupt(INT_CAUSE_CP, true); } else { s_interrupt_set.Clear(); - INFO_LOG(COMMANDPROCESSOR, "Interrupt cleared"); + DEBUG_LOG(COMMANDPROCESSOR, "Interrupt cleared"); ProcessorInterface::SetInterrupt(INT_CAUSE_CP, false); } CoreTiming::ForceExceptionCheck(0); @@ -359,21 +359,21 @@ void SetCPStatusFromGPU() { if (!fifo.bFF_Breakpoint) { - INFO_LOG(COMMANDPROCESSOR, "Hit breakpoint at %i", fifo.CPReadPointer); + DEBUG_LOG(COMMANDPROCESSOR, "Hit breakpoint at %i", fifo.CPReadPointer); fifo.bFF_Breakpoint = true; } } else { if (fifo.bFF_Breakpoint) - INFO_LOG(COMMANDPROCESSOR, "Cleared breakpoint at %i", fifo.CPReadPointer); + DEBUG_LOG(COMMANDPROCESSOR, "Cleared breakpoint at %i", fifo.CPReadPointer); fifo.bFF_Breakpoint = false; } } else { if (fifo.bFF_Breakpoint) - INFO_LOG(COMMANDPROCESSOR, "Cleared breakpoint at %i", fifo.CPReadPointer); + DEBUG_LOG(COMMANDPROCESSOR, "Cleared breakpoint at %i", fifo.CPReadPointer); fifo.bFF_Breakpoint = false; } @@ -426,7 +426,7 @@ void SetCPStatusFromCPU() if (!interrupt || bpInt || undfInt || ovfInt) { s_interrupt_set.Set(interrupt); - INFO_LOG(COMMANDPROCESSOR, "Interrupt set"); + DEBUG_LOG(COMMANDPROCESSOR, "Interrupt set"); ProcessorInterface::SetInterrupt(INT_CAUSE_CP, interrupt); } } @@ -447,7 +447,7 @@ void SetCpStatusRegister() m_CPStatusReg.UnderflowLoWatermark = fifo.bFF_LoWatermark; m_CPStatusReg.OverflowHiWatermark = fifo.bFF_HiWatermark; - INFO_LOG(COMMANDPROCESSOR, "\t Read from STATUS_REGISTER : %04x", m_CPStatusReg.Hex); + DEBUG_LOG(COMMANDPROCESSOR, "\t Read from STATUS_REGISTER : %04x", m_CPStatusReg.Hex); DEBUG_LOG( COMMANDPROCESSOR, "(r) status: iBP %s | fReadIdle %s | fCmdIdle %s | iOvF %s | iUndF %s", m_CPStatusReg.Breakpoint ? "ON" : "OFF", m_CPStatusReg.ReadIdle ? "ON" : "OFF", diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 0a2d3c4014..badc794cfe 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -211,7 +211,7 @@ u8* Run(DataReader src, u32* cycles, bool in_display_list) if (in_display_list) { totalCycles += 6; - WARN_LOG(VIDEO, "recursive display list detected"); + INFO_LOG(VIDEO, "recursive display list detected"); } else { diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 5271f11d9a..6818efa7b2 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -288,7 +288,7 @@ static void RaiseEvent() // THIS IS EXECUTED FROM VIDEO THREAD void SetToken(const u16 token, const bool interrupt) { - INFO_LOG(PIXELENGINE, "VIDEO Backend raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", token); + DEBUG_LOG(PIXELENGINE, "VIDEO Backend raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", token); std::lock_guard<std::mutex> lk(s_token_finish_mutex); @@ -302,7 +302,7 @@ void SetToken(const u16 token, const bool interrupt) // THIS IS EXECUTED FROM VIDEO THREAD (BPStructs.cpp) when a new frame has been drawn void SetFinish() { - INFO_LOG(PIXELENGINE, "VIDEO Set Finish"); + DEBUG_LOG(PIXELENGINE, "VIDEO Set Finish"); std::lock_guard<std::mutex> lk(s_token_finish_mutex); diff --git a/Source/Core/VideoCommon/XFStructs.cpp b/Source/Core/VideoCommon/XFStructs.cpp index a6b6c20358..abe35ed422 100644 --- a/Source/Core/VideoCommon/XFStructs.cpp +++ b/Source/Core/VideoCommon/XFStructs.cpp @@ -202,7 +202,7 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, DataReader src) // do not allow writes past registers if (baseAddress + transferSize > 0x1058) { - INFO_LOG(VIDEO, "XF load exceeds address space: %x %d bytes", baseAddress, transferSize); + WARN_LOG(VIDEO, "XF load exceeds address space: %x %d bytes", baseAddress, transferSize); if (baseAddress >= 0x1058) transferSize = 0; |
