mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
some more fixes for the switch to unicode. Thanks sl1nk3.s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3925 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -461,7 +461,7 @@ void CFrame::DoOpen(bool Boot)
|
||||
{
|
||||
if (!fileChosen)
|
||||
return;
|
||||
BootManager::BootCore(std::string(path.ToAscii()));
|
||||
BootManager::BootCore(std::string(path.mb_str()));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -662,7 +662,7 @@ void CFrame::OnLoadStateFromFile(wxCommandEvent& WXUNUSED (event))
|
||||
this);
|
||||
|
||||
if(path)
|
||||
State_LoadAs((const char *)path.ToAscii());
|
||||
State_LoadAs((const char*)path.mb_str());
|
||||
}
|
||||
|
||||
void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
|
||||
@ -680,7 +680,7 @@ void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
|
||||
this);
|
||||
|
||||
if(path)
|
||||
State_SaveAs((const char *)path.ToAscii());
|
||||
State_SaveAs((const char*)path.mb_str());
|
||||
}
|
||||
|
||||
void CFrame::OnLoadLastState(wxCommandEvent& WXUNUSED (event))
|
||||
|
Reference in New Issue
Block a user