Update ARM GNU toolchain to version 12.3-rel1 #64

Merged
TheBrokenRail merged 4 commits from taylorthemushroom/minecraft-pi-reborn:master into master 2023-10-20 01:13:06 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 2da7947640 - Show all commits

View File

@ -21,8 +21,8 @@ static AppPlatform_readAssetFile_return_value AppPlatform_readAssetFile_injectio
stream.read(buf, len);
// Return String
AppPlatform_readAssetFile_return_value ret;
ret.length = str.length();
ret.data = strdup(str.c_str());
ret.length = len;
ret.data = strdup(buf);
return ret;
}