Turn some WARN logs into INFO logs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2699 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-03-20 19:51:00 +00:00
parent 6c4778287b
commit 554a930fe9
4 changed files with 12 additions and 13 deletions

View File

@ -179,7 +179,7 @@ void SetToken_OnMainThread(u64 userdata, int cyclesLate)
//{ //{
g_bSignalTokenInterrupt = true; g_bSignalTokenInterrupt = true;
//_dbg_assert_msg_(PIXELENGINE, (CommandProcessor::fifo.PEToken == (userdata&0xFFFF)), "WTF? BPMEM_PE_TOKEN_INT_ID's token != BPMEM_PE_TOKEN_ID's token" ); //_dbg_assert_msg_(PIXELENGINE, (CommandProcessor::fifo.PEToken == (userdata&0xFFFF)), "WTF? BPMEM_PE_TOKEN_INT_ID's token != BPMEM_PE_TOKEN_ID's token" );
WARN_LOG(PIXELENGINE, "VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", CommandProcessor::fifo.PEToken); INFO_LOG(PIXELENGINE, "VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", CommandProcessor::fifo.PEToken);
UpdateInterrupts(); UpdateInterrupts();
//} //}
//else //else

View File

@ -34,7 +34,7 @@ void Read16(u16& _rReturnValue, const u32 _Address)
void Read32(u32& _rReturnValue, const u32 _Address) void Read32(u32& _rReturnValue, const u32 _Address)
{ {
switch(_Address & 0xFFFF) switch (_Address & 0xFFFF)
{ {
// NAND Loader ... no idea // NAND Loader ... no idea
case 0x018: case 0x018:

View File

@ -126,9 +126,7 @@ void Read32(u32& _rReturnValue, const u32 _Address)
switch(_Address & 0xFFFF) switch(_Address & 0xFFFF)
{ {
case IPC_CONTROL_REGISTER: case IPC_CONTROL_REGISTER:
_rReturnValue = g_IPC_Control.Hex; _rReturnValue = g_IPC_Control.Hex;
INFO_LOG(WII_IPC, "IOP: Read32 from IPC_CONTROL_REGISTER(0x04) = 0x%08x", _rReturnValue); INFO_LOG(WII_IPC, "IOP: Read32 from IPC_CONTROL_REGISTER(0x04) = 0x%08x", _rReturnValue);
// if ((REASON_REG & 0x14) == 0x14) CALL IPCReplayHanlder // if ((REASON_REG & 0x14) == 0x14) CALL IPCReplayHanlder
@ -159,13 +157,13 @@ void Write32(const u32 _Value, const u32 _Address)
case IPC_COMMAND_REGISTER: // __ios_Ipc2 ... a value from __responses is loaded case IPC_COMMAND_REGISTER: // __ios_Ipc2 ... a value from __responses is loaded
{ {
g_Address = _Value; g_Address = _Value;
WARN_LOG(WII_IPC, "IOP: Write32 to IPC_ADDRESS_REGISTER(0x00) = 0x%08x", g_Address); INFO_LOG(WII_IPC, "IOP: Write32 to IPC_ADDRESS_REGISTER(0x00) = 0x%08x", g_Address);
} }
break; break;
case IPC_CONTROL_REGISTER: case IPC_CONTROL_REGISTER:
{ {
WARN_LOG(WII_IPC, "IOP: Write32 to IPC_CONTROL_REGISTER(0x04) = 0x%08x (old: 0x%08x)", _Value, g_IPC_Control.Hex); INFO_LOG(WII_IPC, "IOP: Write32 to IPC_CONTROL_REGISTER(0x04) = 0x%08x (old: 0x%08x)", _Value, g_IPC_Control.Hex);
UIPC_Control TempControl(_Value); UIPC_Control TempControl(_Value);
_dbg_assert_msg_(WII_IPC, TempControl.pad == 0, "IOP: Write to UIPC_Control.pad", _Address); _dbg_assert_msg_(WII_IPC, TempControl.pad == 0, "IOP: Write to UIPC_Control.pad", _Address);
@ -178,6 +176,7 @@ void Write32(const u32 _Value, const u32 _Address)
g_IPC_Control.unk5 = TempControl.unk5; g_IPC_Control.unk5 = TempControl.unk5;
g_IPC_Control.unk6 = TempControl.unk6; g_IPC_Control.unk6 = TempControl.unk6;
g_IPC_Control.pad = TempControl.pad; g_IPC_Control.pad = TempControl.pad;
if (TempControl.ExecuteCmd) if (TempControl.ExecuteCmd)
{ {
WII_IPC_HLE_Interface::AckCommand(g_Address); WII_IPC_HLE_Interface::AckCommand(g_Address);
@ -190,7 +189,7 @@ void Write32(const u32 _Value, const u32 _Address)
UIPC_Status NewStatus(_Value); UIPC_Status NewStatus(_Value);
if (NewStatus.INTERRUPT) g_IPC_Status.INTERRUPT = 0; // clear interrupt if (NewStatus.INTERRUPT) g_IPC_Status.INTERRUPT = 0; // clear interrupt
WARN_LOG(WII_IPC, "IOP: Write32 to IPC_STATUS_REGISTER(0x30) = 0x%08x", _Value); INFO_LOG(WII_IPC, "IOP: Write32 to IPC_STATUS_REGISTER(0x30) = 0x%08x", _Value);
} }
break; break;

View File

@ -89,14 +89,14 @@ void Init()
void Reset() void Reset()
{ {
TDeviceMap::const_iterator itr = g_DeviceMap.begin(); TDeviceMap::const_iterator itr = g_DeviceMap.begin();
while(itr != g_DeviceMap.end()) while (itr != g_DeviceMap.end())
{ {
delete itr->second; delete itr->second;
++itr; ++itr;
} }
g_DeviceMap.clear(); g_DeviceMap.clear();
while(!g_ReplyQueue.empty()) while (!g_ReplyQueue.empty())
{ {
g_ReplyQueue.pop(); g_ReplyQueue.pop();
} }
@ -459,7 +459,7 @@ void ExecuteCommand(u32 _Address)
// Write reply, this will later be executed in Update() // Write reply, this will later be executed in Update()
g_ReplyQueue.push(std::pair<u32, std::string>(_Address, pDevice->GetDeviceName())); g_ReplyQueue.push(std::pair<u32, std::string>(_Address, pDevice->GetDeviceName()));
} else { } else {
WARN_LOG(WII_IPC_HLE, "IOP: Reply to unknown device ID (DeviceID=%i)", DeviceID); ERROR_LOG(WII_IPC_HLE, "IOP: Reply to unknown device ID (DeviceID=%i)", DeviceID);
g_ReplyQueue.push(std::pair<u32, std::string>(_Address, "unknown")); g_ReplyQueue.push(std::pair<u32, std::string>(_Address, "unknown"));
} }
@ -513,9 +513,9 @@ void Update()
{ {
u32 _Address = g_Ack.front(); u32 _Address = g_Ack.front();
g_Ack.pop_front(); g_Ack.pop_front();
WARN_LOG(WII_IPC_HLE, "-- Exeute Ack (0x%08x)", _Address); DEBUG_LOG(WII_IPC_HLE, "-- Execute Ack (0x%08x)", _Address);
ExecuteCommand(_Address); ExecuteCommand(_Address);
WARN_LOG(WII_IPC_HLE, "-- End of ExecuteAck (0x%08x)", _Address); DEBUG_LOG(WII_IPC_HLE, "-- End of ExecuteAck (0x%08x)", _Address);
// Go back to WII_IPC.cpp and generate an acknowledgement // Go back to WII_IPC.cpp and generate an acknowledgement
WII_IPCInterface::GenerateAck(_Address); WII_IPCInterface::GenerateAck(_Address);