mirror of
https://github.com/alexbatalov/fallout1-ce.git
synced 2025-12-19 18:06:12 -05:00
Ensure db_findfirst path is resolved (#119)
This commit is contained in:
@@ -2577,6 +2577,7 @@ static int db_findfirst(const char* path, DB_FIND_DATA* findData)
|
||||
char basePath[COMPAT_MAX_PATH];
|
||||
compat_makepath(basePath, drive, dir, NULL, NULL);
|
||||
|
||||
compat_resolve_path(basePath);
|
||||
findData->dir = opendir(basePath);
|
||||
if (findData->dir == NULL) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user