Skip to content

Commit

Permalink
mcsim respects manifest option for main module
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie authored and Michael Kellner committed Mar 11, 2022
1 parent db4f1da commit 8152586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/simulators/modules/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ void fxScreenLaunch(txScreen* screen)
xsSet(xsVar(0), xsID_when, xsNumber(C_NAN));
xsSet(xsGlobal, xsID_screen, xsVar(0));

xsVar(1) = xsAwaitImport("main", XS_IMPORT_DEFAULT);
xsVar(1) = xsAwaitImport(((txPreparation *)xsPreparationAndCreation(NULL))->main, XS_IMPORT_DEFAULT);
if (xsTest(xsVar(1))) {
if (xsIsInstanceOf(xsVar(1), xsFunctionPrototype)) {
xsCallFunction0(xsVar(1), xsGlobal);
Expand Down

0 comments on commit 8152586

Please sign in to comment.