- use a local byteswap header in the file system.

This commit is contained in:
Christoph Oelckers 2023-08-19 14:06:06 +02:00
commit 454af06acf
12 changed files with 170 additions and 43 deletions

View file

@ -106,7 +106,7 @@ static void *FS_FindFirst(const char *const filespec, findstate_t *const fileinf
if (slash)
{
pattern = slash + 1;
fileinfo->path = std::string(filespec, slash - filespec + 1);
fileinfo->path = std::string(filespec, 0, slash - filespec + 1);
dir = fileinfo->path.c_str();
}
else