mirror of https://github.com/PCSX2/pcsx2.git
CHD: Fix parent search on windows
Apparently you can't use the constructor to concat a literal and a wxString like that.
This commit is contained in:
parent
a13222f926
commit
080ba94ed2
|
@ -65,7 +65,7 @@ bool ChdFileReader::Open2(const wxString& fileName)
|
|||
if (dir.IsOpened())
|
||||
{
|
||||
wxString parent_fileName;
|
||||
bool cont = dir.GetFirst(&parent_fileName, wxString("*.", wxfilename.GetExt()), wxDIR_FILES | wxDIR_HIDDEN);
|
||||
bool cont = dir.GetFirst(&parent_fileName, wxString("*.") + wxfilename.GetExt(), wxDIR_FILES | wxDIR_HIDDEN);
|
||||
for (; cont; cont = dir.GetNext(&parent_fileName))
|
||||
{
|
||||
parent_fileName = wxFileName(dir_path, parent_fileName).GetFullPath();
|
||||
|
|
Loading…
Reference in New Issue