Detail
This commit is contained in:
parent
f3d1b270b5
commit
8ae26f4b72
|
@ -659,8 +659,7 @@ BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
ofn.nMaxFile = 2048;
|
ofn.nMaxFile = 2048;
|
||||||
ofn.lpstrDefExt = "cht";
|
ofn.lpstrDefExt = "cht";
|
||||||
ofn.Flags = OFN_EXPLORER | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_FILEMUSTEXIST;
|
ofn.Flags = OFN_EXPLORER | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_FILEMUSTEXIST;
|
||||||
std::string initdir = FCEU_GetPath(FCEUMKF_CHEAT) + PSS;
|
ofn.lpstrInitialDir = FCEU_GetPath(FCEUMKF_CHEAT).c_str();
|
||||||
ofn.lpstrInitialDir = initdir.c_str();
|
|
||||||
|
|
||||||
if (GetOpenFileName(&ofn))
|
if (GetOpenFileName(&ofn))
|
||||||
{
|
{
|
||||||
|
@ -699,8 +698,7 @@ BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
ofn.nMaxFile = 2048;
|
ofn.nMaxFile = 2048;
|
||||||
ofn.lpstrDefExt = "cht";
|
ofn.lpstrDefExt = "cht";
|
||||||
ofn.Flags = OFN_EXPLORER | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_FILEMUSTEXIST;
|
ofn.Flags = OFN_EXPLORER | OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_FILEMUSTEXIST;
|
||||||
std::string initdir = FCEU_GetPath(FCEUMKF_CHEAT) + PSS;
|
ofn.lpstrInitialDir = FCEU_GetPath(FCEUMKF_CHEAT).c_str();
|
||||||
ofn.lpstrInitialDir = initdir.c_str();
|
|
||||||
|
|
||||||
if (GetSaveFileName(&ofn))
|
if (GetSaveFileName(&ofn))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue