unknown string concatenation in DisplayError

This commit is contained in:
no 2016-01-13 15:42:01 -05:00
parent 7994f21868
commit 87376ec7b1
2 changed files with 12 additions and 2 deletions

View File

@ -289,7 +289,10 @@ void CPifRam::SI_DMA_READ()
{
if (bShowPifRamErrors())
{
g_Notify->DisplayError(__FUNCTION__ "\nSI_DRAM_ADDR_REG not in RDRam space");
g_Notify->DisplayError(
__FUNCTION__ \
"\nSI_DRAM_ADDR_REG not in RDRam space"
);
}
return;
}

View File

@ -1143,7 +1143,14 @@ void CRegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
{
if (Reg == 0)
{
if (bHaveDebugger()) { g_Notify->DisplayError(__FUNCTION__ "\n\nWhy are you trying to unmap reg 0"); }
if (bHaveDebugger())
{
g_Notify->DisplayError(
__FUNCTION__ \
"\n\n" \
"Why are you trying to unmap reg 0"
);
}
return;
}