mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1b8f476024
commit
ba54fac9eb
82 changed files with 408 additions and 449 deletions
|
@ -1169,7 +1169,7 @@ void CConfigMain::ChooseMemcardPath(std::string& strMemcard, bool isSlotA)
|
|||
{
|
||||
std::string filename = std::string(wxFileSelector(
|
||||
_("Choose a file to open"),
|
||||
wxString::FromUTF8(File::GetUserPath(D_GCUSER_IDX)),
|
||||
wxString::FromUTF8(File::GetUserPath(D_GCUSER_IDX).c_str()),
|
||||
isSlotA ? wxT(GC_MEMCARDA) : wxT(GC_MEMCARDB),
|
||||
wxEmptyString,
|
||||
_("Gamecube Memory Cards (*.raw,*.gcp)") + wxString(wxT("|*.raw;*.gcp"))).mb_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue