mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
Merge pull request #869 from dumganhar/jsb2.0
typo fix in sm/ScriptEngine.cpp
This commit is contained in:
@@ -572,7 +572,7 @@ namespace se {
|
||||
// Check whether '.jsc' files exist to avoid outputting log which says 'couldn't find .jsc file'.
|
||||
if (_fileOperationDelegate.onCheckFileExist(byteCodePath))
|
||||
{
|
||||
_fileOperationDelegate.onGetDataFromFile(byteCodePath, [&](cosnt uint8_t* data, size_t dataLen) {
|
||||
_fileOperationDelegate.onGetDataFromFile(byteCodePath, [&](const uint8_t* data, size_t dataLen) {
|
||||
if (data != nullptr && dataLen > 0)
|
||||
{
|
||||
JS::TranscodeBuffer buffer;
|
||||
|
||||
Reference in New Issue
Block a user