mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Fix the extractor's assumption that found files are always in the working directory (x64/build/soh). (#6243)
This commit is contained in:
parent
e6947c733c
commit
e447143e48
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue