Try using stdstr_f instead to concatenate inside DisplayError().
This commit is contained in:
parent
87376ec7b1
commit
7bf9a23e28
|
@ -289,10 +289,7 @@ void CPifRam::SI_DMA_READ()
|
|||
{
|
||||
if (bShowPifRamErrors())
|
||||
{
|
||||
g_Notify->DisplayError(
|
||||
__FUNCTION__ \
|
||||
"\nSI_DRAM_ADDR_REG not in RDRam space"
|
||||
);
|
||||
g_Notify->DisplayError(stdstr_f("%s\nSI_DRAM_ADDR_REG not in RDRam space", __FUNCTION__).c_str());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1145,11 +1145,7 @@ void CRegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
|
|||
{
|
||||
if (bHaveDebugger())
|
||||
{
|
||||
g_Notify->DisplayError(
|
||||
__FUNCTION__ \
|
||||
"\n\n" \
|
||||
"Why are you trying to unmap reg 0"
|
||||
);
|
||||
g_Notify->DisplayError(stdstr_f("%s\n\nWhy are you trying to unmap reg 0", __FUNCTION__).c_str());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue