Skip to content

Commit

Permalink
Quickfix: asset size has exceeded 4x30 MB, so now there are 5 chunks. (
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb authored Jan 2, 2025
1 parent 53d9452 commit 864ad02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/emscripten/libretro/libretro.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ function zipfsInit() {
let buffer = new ArrayBuffer(256*1024*1024);
let bufferView = new Uint8Array(buffer);
let idx = 0;
// bundle should be in four parts (this can be changed later)
// bundle should be in five parts (this can be changed later)
Promise.all([fetch("assets/frontend/bundle.zip.aa"),
fetch("assets/frontend/bundle.zip.ab"),
fetch("assets/frontend/bundle.zip.ac"),
fetch("assets/frontend/bundle.zip.ad")
fetch("assets/frontend/bundle.zip.ad"),
fetch("assets/frontend/bundle.zip.ae")
]).then(function(resps) {
Promise.all(resps.map((r) => r.arrayBuffer())).then(function(buffers) {
for (let buf of buffers) {
Expand Down

0 comments on commit 864ad02

Please sign in to comment.