Fix building error for simulator. (#16612)

* Update .cocos-project.json

* Fix build error
This commit is contained in:
Y-way
2023-12-18 11:49:02 +08:00
committed by GitHub
parent c2e1abe49c
commit 19c19c595d
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
{
"has_native": true,
"project_type": "lua"
}
"has_native": true,
"project_type": "js"
}
@@ -343,6 +343,7 @@ int SimulatorApp::init() {
}
_project.setFrameScale(frameScale);
CC_LOG_DEBUG("FRAME SCALE = %0.2f", frameScale);
return 0;
}
int SimulatorApp::run() {