1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-04-01 21:25:02 +00:00
This commit is contained in:
Silent YANG 2025-03-19 17:20:48 +08:00
parent c4e5338397
commit aef086229f

View file

@ -169,7 +169,7 @@
for(let i = 256; i < 4096; i++){
if(state.calendar[i] >= 0){
console.log(i);
const newBinaryFile = new Uint8Array(Math.ceil(state.rom[state.calendar[i]].binaryFile.length / 0x40) * 0x40).fill(0xff);
const newBinaryFile = new Uint8Array(Math.ceil(state.rom[state.calendar[i]].binaryFile.length / 0x40) * 0x40);
newBinaryFile.set(state.rom[state.calendar[i]].binaryFile, 0)
state.rom[state.calendar[i]].binaryFile = newBinaryFile
firmware.push({