Keep patched ROM downloads from being saved as .gba.txt (#89)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jared Schoeny
2026-08-29 18:52:56 -06:00
committed by GitHub
parent e30d7b0dd0
commit f84350be82

View File

@@ -48,7 +48,7 @@ function createBlobSink(fileName: string): OutputSink {
chunks.push(asArrayBufferView(bytes));
},
async close() {
triggerBlobDownload(new Blob(chunks), fileName);
triggerBlobDownload(new Blob(chunks, { type: "application/octet-stream" }), fileName);
},
async abort() {
chunks.length = 0;