Style fixes.

This commit is contained in:
Jean-Philip Desjardins 2018-05-25 12:26:07 -04:00
parent 0f2fcc31bb
commit 1e1eed8a67
9 changed files with 14 additions and 14 deletions

View File

@ -428,7 +428,7 @@ uint32 CSubSystem::IOPortReadHandler(uint32 nAddress)
else
{
CLog::GetInstance().Warn(LOG_NAME, "Read an unhandled IO port (0x%08X, PC: 0x%08X).\r\n",
nAddress, m_EE.m_State.nPC);
nAddress, m_EE.m_State.nPC);
}
if((nAddress == CINTC::INTC_STAT) || (nAddress == CGSHandler::GS_CSR))
@ -517,7 +517,7 @@ uint32 CSubSystem::IOPortWriteHandler(uint32 nAddress, uint32 nData)
else
{
CLog::GetInstance().Warn(LOG_NAME, "Wrote to an unhandled IO port (0x%08X, 0x%08X, PC: 0x%08X).\r\n",
nAddress, nData, m_EE.m_State.nPC);
nAddress, nData, m_EE.m_State.nPC);
}
if(
@ -559,7 +559,7 @@ uint32 CSubSystem::Vu0IoPortWriteHandler(uint32 address, uint32 value)
{
default:
CLog::GetInstance().Warn(LOG_NAME, "Wrote an unhandled VU0 IO port (0x%08X, 0x%08X).\r\n",
address, value);
address, value);
break;
}
return 0;
@ -599,7 +599,7 @@ uint32 CSubSystem::Vu1IoPortWriteHandler(uint32 address, uint32 value)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Wrote an unhandled VU1 IO port (0x%08X, 0x%08X).\r\n",
address, value);
address, value);
break;
}
return 0;

View File

@ -268,7 +268,7 @@ void CCdvdman::Invoke(CMIPS& ctx, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Unknown function called (%d).\r\n",
functionId);
functionId);
break;
}
}

View File

@ -206,7 +206,7 @@ void CDmac::LogRead(uint32 address)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Read an unknown register 0x%08X.\r\n",
address);
address);
break;
}
}
@ -244,7 +244,7 @@ void CDmac::LogWrite(uint32 address, uint32 value)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Wrote 0x%08X to unknown register 0x%08X.\r\n",
value, address);
value, address);
break;
}
}

View File

@ -61,7 +61,7 @@ void CHeaplib::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Unknown function called (%d).\r\n",
functionId);
functionId);
break;
}
}

View File

@ -80,7 +80,7 @@ void CLoadcore::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Unknown function (%d) called (PC: 0x%08X).\r\n",
functionId, context.m_State.nPC);
functionId, context.m_State.nPC);
break;
}
}

View File

@ -95,7 +95,7 @@ void CModload::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "(%08X): Unknown function (%d) called.\r\n",
context.m_State.nPC, functionId);
context.m_State.nPC, functionId);
break;
}
}
@ -116,7 +116,7 @@ uint32 CModload::LoadStartModule(uint32 pathPtr, uint32 argsLength, uint32 argsP
catch(const std::exception& except)
{
CLog::GetInstance().Warn(LOG_NAME, "Error occured while trying to load module '%s' : %s\r\n",
path, except.what());
path, except.what());
}
return -1;
}

View File

@ -266,7 +266,7 @@ void CSifCmd::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "Unknown function called (%d).\r\n",
functionId);
functionId);
break;
}
}

View File

@ -272,7 +272,7 @@ void CSysclib::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "(%08X): Unknown function (%d) called.\r\n",
context.m_State.nPC, functionId);
context.m_State.nPC, functionId);
assert(0);
break;
}

View File

@ -147,7 +147,7 @@ void CTimrman::Invoke(CMIPS& context, unsigned int functionId)
break;
default:
CLog::GetInstance().Warn(LOG_NAME, "(%08X): Unknown function (%d) called.\r\n",
context.m_State.nPC, functionId);
context.m_State.nPC, functionId);
break;
}
}