- FileData cleanup and uncoupling from FString.
Work is still needed to allow this to use the lump cache directly because some decisions in the past made this data padded by a zero byte.
This commit is contained in:
parent
ca1d7fd539
commit
a0d679b84b
24 changed files with 69 additions and 90 deletions
|
|
@ -166,8 +166,8 @@ void D_LoadWadSettings ()
|
|||
while ((lump = fileSystem.FindLump ("KEYCONF", &lastlump)) != -1)
|
||||
{
|
||||
FileData data = fileSystem.ReadFile (lump);
|
||||
const char *eof = (char *)data.GetMem() + fileSystem.FileLength (lump);
|
||||
const char *conf = (char *)data.GetMem();
|
||||
const char *eof = data.GetString() + fileSystem.FileLength (lump);
|
||||
const char *conf = data.GetString();
|
||||
|
||||
while (conf < eof)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue