From 466c3162d6503843478d6304d9f7849f15600e12 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sun, 12 Aug 2012 16:26:31 +0200 Subject: [PATCH] win32: use updated folder browser --- win32/wsnes9x.cpp | 1 + 1 file changed, 1 insertion(+) 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);