Fix the extractor's assumption that found files are always in the working directory (x64/build/soh). (#6243)

This commit is contained in:
Malkierian 2026-02-14 17:51:48 -07:00 committed by GitHub
parent e6947c733c
commit e447143e48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -238,7 +238,7 @@ void Extractor::GetRoms(std::vector<std::string>& roms) {
// Check for any standard N64 rom file extensions.
if ((strcmp(ext, ".z64") == 0) || (strcmp(ext, ".n64") == 0) || (strcmp(ext, ".v64") == 0))
roms.push_back(ffd.cFileName);
roms.push_back(mSearchPath + "\\" + ffd.cFileName);
}
} while (FindNextFileA(h, &ffd) != 0);
// if (h != nullptr) {