mirror of
https://github.com/autc04/Retro68.git
synced 2025-03-06 07:29:54 +00:00
fix MakeImport tool
This commit is contained in:
parent
c01f65322d
commit
fdc7063870
@ -215,7 +215,13 @@ void MakeImportLibrary(char *pefptr, size_t pefsize, fs::path dest, fs::path tmp
|
||||
bool MakeImportLibraryMulti(fs::path path, fs::path libname)
|
||||
{
|
||||
ResourceFile resFile;
|
||||
assert(resFile.read(path.string()));
|
||||
bool readSuccess = resFile.read(path.string());
|
||||
|
||||
if (!readSuccess)
|
||||
{
|
||||
std::cerr << "Could not read input file.\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
std::vector<char> data(resFile.data.begin(), resFile.data.end());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user