Project64: Update the code related to changes in stdstr
This commit is contained in:
parent
5c8b6fd2e2
commit
b805bbb883
|
@ -542,7 +542,7 @@ stdstr CCheats::GetCheatName(int CheatNo, bool AddExtension) const
|
|||
if (!IsValid16BitCode(CodeString))
|
||||
{
|
||||
Name.Format("*** %s",Name.c_str());
|
||||
Name.replace("\\","\\*** ");
|
||||
Name.Replace("\\","\\*** ");
|
||||
}
|
||||
if (AddExtension && CheatUsesCodeExtensions(LineEntry)) {
|
||||
stdstr CheatValue(g_Settings->LoadStringIndex(Cheat_Extension,CheatNo));
|
||||
|
|
|
@ -911,6 +911,8 @@ void LoopAnalysis::SPECIAL_SYSCALL ( CCodeSection * Section )
|
|||
{
|
||||
g_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
#else
|
||||
Section = Section;
|
||||
#endif
|
||||
m_NextInstruction = END_BLOCK;
|
||||
m_PC -= 4;
|
||||
|
@ -929,6 +931,8 @@ void LoopAnalysis::SPECIAL_BREAK ( CCodeSection * Section )
|
|||
{
|
||||
g_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
#else
|
||||
Section = Section;
|
||||
#endif
|
||||
m_NextInstruction = END_BLOCK;
|
||||
m_PC -= 4;
|
||||
|
|
|
@ -270,7 +270,7 @@ stdstr CSettingTypeApplication::FixSectionName(LPCSTR Section)
|
|||
{
|
||||
SectionName = "default";
|
||||
}
|
||||
SectionName.replace("\\","-");
|
||||
SectionName.Replace("\\","-");
|
||||
}
|
||||
return SectionName;
|
||||
}
|
||||
|
|
|
@ -104,8 +104,8 @@ void COptionsShortCutsPage::OnCpuStateChanged(UINT /*Code*/, int /*id*/, HWND /*
|
|||
}
|
||||
|
||||
stdstr str = GS(Item->second.Title());
|
||||
str.replace("&","");
|
||||
str.replace("...","");
|
||||
str.Replace("&","");
|
||||
str.Replace("...","");
|
||||
|
||||
HTREEITEM hItem = m_MenuItems.InsertItem(TVIF_TEXT | TVIF_PARAM,str.c_str(),0,0,0,0,
|
||||
(DWORD_PTR)&Item->second,hParent,TVI_LAST);
|
||||
|
|
Loading…
Reference in New Issue