mirror of https://github.com/snes9xgit/snes9x.git
win32: use updated folder browser
This commit is contained in:
parent
7ed405d6e2
commit
466c3162d6
|
@ -5109,6 +5109,7 @@ INT_PTR CALLBACK DlgEmulatorProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lPar
|
|||
bi.lpszTitle=title;
|
||||
bi.lpfn = SetSelProc;
|
||||
bi.lParam = (LPARAM)(LPCSTR) path;
|
||||
bi.ulFlags = BIF_RETURNONLYFSDIRS | BIF_NEWDIALOGSTYLE | BIF_EDITBOX;
|
||||
iidl=SHBrowseForFolder(&bi);
|
||||
if(iidl) SHGetPathFromIDList(iidl, path);
|
||||
|
||||
|
|
Loading…
Reference in New Issue