merge FileData and ResourceData.

This commit is contained in:
Christoph Oelckers 2023-12-10 22:30:54 +01:00
commit fe106d9bfe
38 changed files with 77 additions and 118 deletions

View file

@ -166,8 +166,8 @@ void D_LoadWadSettings ()
while ((lump = fileSystem.FindLump ("KEYCONF", &lastlump)) != -1)
{
auto data = fileSystem.ReadFile (lump);
const char* conf = data.GetString();
const char *eof = conf + data.GetSize();
const char* conf = data.string();
const char *eof = conf + data.size();
while (conf < eof)
{