mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
fixed savegame file name check.
Writer and reader for the savegame metadata were mismatched so the readback of non-ASCII filenames failed.
This commit is contained in:
parent
6d1ebf5f27
commit
28400a12f1
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/*
|
||||
** serializer.cpp
|
||||
** Savegame wrapper around RapidJSON
|
||||
**
|
||||
|
|
|
@ -1892,9 +1892,9 @@ bool G_CheckSaveGameWads (FSerializer &arc, bool printwarn)
|
|||
bool printRequires = false;
|
||||
FString text;
|
||||
|
||||
arc("Game WAD", text);
|
||||
text = arc.GetString("Game WAD");
|
||||
CheckSingleWad (text.GetChars(), printRequires, printwarn);
|
||||
arc("Map WAD", text);
|
||||
text = arc.GetString("Map WAD");
|
||||
CheckSingleWad (text.GetChars(), printRequires, printwarn);
|
||||
|
||||
if (printRequires)
|
||||
|
|
Loading…
Reference in a new issue