diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h b/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h index 8ed68c875e..2209f65b06 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h @@ -139,28 +139,6 @@ void WritePB(u32 addr, const PB_TYPE& pb, u32 crc) } } -#if 0 -// Dump the value of a PB for debugging -#define DUMP_U16(field) WARN_LOG(DSPHLE, " %04x (%s)", pb.field, #field) -#define DUMP_U32(field) WARN_LOG(DSPHLE, " %08x (%s)", HILO_TO_32(pb.field), #field) -void DumpPB(const PB_TYPE& pb) -{ - DUMP_U32(next_pb); - DUMP_U32(this_pb); - DUMP_U16(src_type); - DUMP_U16(coef_select); -#ifdef AX_GC - DUMP_U16(mixer_control); -#else - DUMP_U32(mixer_control); -#endif - DUMP_U16(running); - DUMP_U16(is_stream); - - // TODO: complete as needed -} -#endif - // Simulated accelerator state. static PB_TYPE* acc_pb; static bool acc_end_reached; diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp index ebc32f38c9..5f23df8469 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp @@ -44,11 +44,6 @@ void AXWiiUCode::HandleCommandList() u32 pb_addr = 0; - // WARN_LOG(DSPHLE, "Command list:"); - // for (u32 i = 0; m_cmdlist[i] != CMD_END; ++i) - // WARN_LOG(DSPHLE, "%04x", m_cmdlist[i]); - // WARN_LOG(DSPHLE, "-------------"); - u32 curr_idx = 0; bool end = false; while (!end) diff --git a/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp b/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp index 802581ec99..00bfd2b0d9 100644 --- a/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp @@ -38,11 +38,6 @@ void Wiimote::HandleReportMode(const OutputReportMode& dr) // even on REPORT_CORE and continuous off when the buttons haven't changed. // But.. it is sent after the ACK - // DEBUG_LOG(WIIMOTE, "Set data report mode"); - // DEBUG_LOG(WIIMOTE, " Rumble: %x", dr->rumble); - // DEBUG_LOG(WIIMOTE, " Continuous: %x", dr->continuous); - // DEBUG_LOG(WIIMOTE, " Mode: 0x%02x", dr->mode); - m_reporting_continuous = dr.continuous; m_reporting_mode = dr.mode; diff --git a/Source/Core/Core/HW/WiimoteEmu/I2CBus.cpp b/Source/Core/Core/HW/WiimoteEmu/I2CBus.cpp index ee5c3b4325..3efeb82f0a 100644 --- a/Source/Core/Core/HW/WiimoteEmu/I2CBus.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/I2CBus.cpp @@ -25,7 +25,6 @@ void I2CBus::Reset() int I2CBus::BusRead(u8 slave_addr, u8 addr, int count, u8* data_out) { - // INFO_LOG(WIIMOTE, "i2c bus read: 0x%02x @ 0x%02x (%d)", slave_addr, addr, count); for (auto& slave : m_slaves) { auto const bytes_read = slave->BusRead(slave_addr, addr, count, data_out); @@ -40,7 +39,6 @@ int I2CBus::BusRead(u8 slave_addr, u8 addr, int count, u8* data_out) int I2CBus::BusWrite(u8 slave_addr, u8 addr, int count, const u8* data_in) { - // INFO_LOG(WIIMOTE, "i2c bus write: 0x%02x @ 0x%02x (%d)", slave_addr, addr, count); for (auto& slave : m_slaves) { auto const bytes_written = slave->BusWrite(slave_addr, addr, count, data_in); diff --git a/Source/Core/Core/PowerPC/GDBStub.cpp b/Source/Core/Core/PowerPC/GDBStub.cpp index 3520994a3f..fe2476584c 100644 --- a/Source/Core/Core/PowerPC/GDBStub.cpp +++ b/Source/Core/Core/PowerPC/GDBStub.cpp @@ -735,7 +735,7 @@ void gdb_handle_exception() break; case 'k': gdb_deinit(); - INFO_LOG(GDB_STUB, "killed by gdb"); + INFO_LOG_FMT(GDB_STUB, "killed by gdb"); return; case 'g': gdb_read_registers(); diff --git a/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp b/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp index 3a31527b2c..26c1c7f256 100644 --- a/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp +++ b/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp @@ -16,24 +16,6 @@ namespace { -template -void LOG_TEX(); - -template <> -void LOG_TEX<1>() -{ - // warning: mapping buffer should be disabled to use this - // PRIM_LOG("tex: %f, ", ((float*)g_vertex_manager_write_ptr)[-1]); -} - -template <> -void LOG_TEX<2>() -{ - // warning: mapping buffer should be disabled to use this - // PRIM_LOG("tex: %f %f, ", ((float*)g_vertex_manager_write_ptr)[-2], - // ((float*)g_vertex_manager_write_ptr)[-1]); -} - void TexCoord_Read_Dummy(VertexLoader* loader) { loader->m_tcIndex++; @@ -63,7 +45,6 @@ void TexCoord_ReadDirect(VertexLoader* loader) g_vertex_manager_write_ptr = dst.GetPointer(); g_video_buffer_read_ptr = src.GetPointer(); - LOG_TEX(); ++loader->m_tcIndex; } @@ -84,7 +65,6 @@ void TexCoord_ReadIndex(VertexLoader* loader) dst.Write(TCScale(Common::FromBigEndian(data[i]), scale)); g_vertex_manager_write_ptr = dst.GetPointer(); - LOG_TEX(); ++loader->m_tcIndex; }