Implement LZ4 strip and make tools write errors to err instead of out
This commit is contained in:
@@ -20,17 +20,13 @@
|
||||
"label": "make",
|
||||
"type": "shell",
|
||||
"command": "./run_make.bat ${input:target} ${input:build cfg}",
|
||||
"group": {
|
||||
"kind": "build"
|
||||
}
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Build Libary and Tools",
|
||||
"type": "shell",
|
||||
"command": "./build_all.bat ${input:target}",
|
||||
"group": {
|
||||
"kind": "build"
|
||||
},
|
||||
"group": "build",
|
||||
"options": {
|
||||
"cwd": "../.."
|
||||
}
|
||||
|
@@ -17,7 +17,7 @@ namespace JabyEngine {
|
||||
static size_t decompress_logo() {
|
||||
LZ4Decompressor lz4_decomp(reinterpret_cast<uint8_t*>(&__boot_loader_end));
|
||||
|
||||
const auto [progress, bytes_ready] = lz4_decomp.process(ArrayRange(SplashScreen + 11, (sizeof(SplashScreen) - 11 - 4)));
|
||||
const auto [progress, bytes_ready] = lz4_decomp.process(ArrayRange(SplashScreen, sizeof(SplashScreen)));
|
||||
switch(progress) {
|
||||
case Progress::InProgress:
|
||||
printf("Decompressing still in progress... %llu\n", bytes_ready);
|
||||
|
Reference in New Issue
Block a user