Skip to content

Commit

Permalink
Fix saved game deletion not working
Browse files Browse the repository at this point in the history
elasota committed Mar 12, 2021
1 parent 35c1749 commit 2897c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GpApp/SavedGames.cpp
Original file line number Diff line number Diff line change
@@ -266,7 +266,7 @@ Boolean OpenSavedGame (void)
char savePath[sizeof(spec.m_name) + 1];
size_t savePathLength = 0;

if (!fm->PromptOpenFile(spec.m_dir, ".sav", savePath, savePathLength, sizeof(spec.m_name), PSTR("Open Saved Game"), true, GetSavedGameDetailsAPI()))
if (!fm->PromptOpenFile(spec.m_dir, ".sav", savePath, savePathLength, sizeof(spec.m_name), PSTR("Open Saved Game"), false, GetSavedGameDetailsAPI()))
return false;

assert(savePathLength < sizeof(spec.m_name) - 1);

0 comments on commit 2897c4f

Please sign in to comment.