mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
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:
1 parent
a13222f926
commit
080ba94ed2
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user