mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
BeefBoot fix
This commit is contained in:
parent
2c1d38d45f
commit
bf5d4fd340
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,8 @@ BF_IMPORT bool BF_CALLTYPE BfParser_BuildDefs(void* bfParser, void* bfPassInstan
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
BF_IMPORT void* BF_CALLTYPE BfSystem_Create();
|
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_ReportMemory(void* bfSystem);
|
||||||
BF_IMPORT void BF_CALLTYPE BfSystem_Delete(void* bfSystem);
|
BF_IMPORT void BF_CALLTYPE BfSystem_Delete(void* bfSystem);
|
||||||
BF_IMPORT void* BF_CALLTYPE BfSystem_CreatePassInstance(void* bfSystem);
|
BF_IMPORT void* BF_CALLTYPE BfSystem_CreatePassInstance(void* bfSystem);
|
||||||
|
@ -663,7 +665,11 @@ void BootApp::DoLinkMS()
|
||||||
String targetPath = mTargetPath;
|
String targetPath = mTargetPath;
|
||||||
|
|
||||||
bool hadOutputChanges;
|
bool hadOutputChanges;
|
||||||
|
|
||||||
|
BfSystem_Lock(mSystem, 0);
|
||||||
const char* result = BfCompiler_GetUsedOutputFileNames(mCompiler, mProject, true, &hadOutputChanges);
|
const char* result = BfCompiler_GetUsedOutputFileNames(mCompiler, mProject, true, &hadOutputChanges);
|
||||||
|
BfSystem_Unlock(mSystem);
|
||||||
|
|
||||||
if (result == NULL)
|
if (result == NULL)
|
||||||
return;
|
return;
|
||||||
std::string fileNamesStr;
|
std::string fileNamesStr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue