mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Add OFN_NOCHANGEDIR in hopes Win32 file dialogs won't change
current working dir
This commit is contained in:
parent
5b52098c54
commit
5097240aef
@ -514,7 +514,7 @@ bool win32_browser(
|
||||
ofn.lpstrInitialDir = TEXT(initial_dir);
|
||||
ofn.lpstrDefExt = "";
|
||||
ofn.nMaxFile = PATH_MAX;
|
||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
|
||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_NOCHANGEDIR;
|
||||
|
||||
if (!GetOpenFileName(&ofn))
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user