diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 7855ca3f..91847aab 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -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);