AppModel: Build model by default in constructor

This commit is contained in:
Katy Coe
2020-08-15 02:34:19 +02:00
parent 7027f2e1cb
commit 95d88e60d7
5 changed files with 9 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ namespace Il2CppInspector
int i = 0;
foreach (var il2cpp in inspectors) {
var model = new TypeModel(il2cpp);
var appModel = new AppModel(model).Build(compiler: CppCompilerType.MSVC);
var appModel = new AppModel(model, makeDefaultBuild: false).Build(compiler: CppCompilerType.MSVC);
var nameSuffix = i++ > 0 ? "-" + (i - 1) : "";
new CSharpCodeStubs(model) {