mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-17 05:29:28 +00:00
Attempt to be consistent with conversions between std::string and wxString.
This commit is contained in:
parent
e82d976d2f
commit
56f09d3b91
39 changed files with 344 additions and 300 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "StringUtil.h"
|
||||
#include "Hash.h"
|
||||
#include "IniFile.h"
|
||||
#include "WxUtils.h"
|
||||
|
||||
#include "Filesystem.h"
|
||||
#include "BannerLoader.h"
|
||||
|
@ -331,7 +332,7 @@ const std::string GameListItem::GetWiiFSPath() const
|
|||
File::CreateFullPath(Path);
|
||||
|
||||
if (Path[0] == '.')
|
||||
ret = std::string(wxGetCwd().mb_str()) + std::string(Path).substr(strlen(ROOT_DIR));
|
||||
ret = WxStrToStr(wxGetCwd()) + std::string(Path).substr(strlen(ROOT_DIR));
|
||||
else
|
||||
ret = std::string(Path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue