Try using stdstr_f instead to concatenate inside DisplayError().

This commit is contained in:
no 2016-01-13 20:04:31 -05:00
parent 87376ec7b1
commit 7bf9a23e28
2 changed files with 2 additions and 9 deletions

View File

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

View File

@ -1145,11 +1145,7 @@ void CRegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
{ {
if (bHaveDebugger()) if (bHaveDebugger())
{ {
g_Notify->DisplayError( g_Notify->DisplayError(stdstr_f("%s\n\nWhy are you trying to unmap reg 0", __FUNCTION__).c_str());
__FUNCTION__ \
"\n\n" \
"Why are you trying to unmap reg 0"
);
} }
return; return;
} }