1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-07 19:18:19 +02:00

BeefBoot fix

This commit is contained in:
Brian Fiete 2022-05-13 13:37:00 -07:00
parent 2c1d38d45f
commit bf5d4fd340

View file

@ -43,6 +43,8 @@ BF_IMPORT bool BF_CALLTYPE BfParser_BuildDefs(void* bfParser, void* bfPassInstan
//////////////////////////////////////////////////////////////////////////
BF_IMPORT void* BF_CALLTYPE BfSystem_Create();
BF_EXPORT void BF_CALLTYPE BfSystem_Lock(void* bfSystem, int priority);
BF_EXPORT void BF_CALLTYPE BfSystem_Unlock(void* bfSystem);
BF_IMPORT void BF_CALLTYPE BfSystem_ReportMemory(void* bfSystem);
BF_IMPORT void BF_CALLTYPE BfSystem_Delete(void* bfSystem);
BF_IMPORT void* BF_CALLTYPE BfSystem_CreatePassInstance(void* bfSystem);
@ -663,7 +665,11 @@ void BootApp::DoLinkMS()
String targetPath = mTargetPath;
bool hadOutputChanges;
BfSystem_Lock(mSystem, 0);
const char* result = BfCompiler_GetUsedOutputFileNames(mCompiler, mProject, true, &hadOutputChanges);
BfSystem_Unlock(mSystem);
if (result == NULL)
return;
std::string fileNamesStr;