mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-12 18:06:23 +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)
|
bool MakeImportLibraryMulti(fs::path path, fs::path libname)
|
||||||
{
|
{
|
||||||
ResourceFile resFile;
|
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());
|
std::vector<char> data(resFile.data.begin(), resFile.data.end());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user