mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-08-06 16:50:54 +00:00
added zip support
This commit is contained in:
parent
c59a8cbfd0
commit
94529e1a52
19 changed files with 473 additions and 188 deletions
|
@ -1,7 +1,7 @@
|
|||
/* Rom Patcher JS v20181018 - Marc Robledo 2016-2018 - http://www.marcrobledo.com/license */
|
||||
|
||||
self.importScripts(
|
||||
'./MarcFile.js',
|
||||
'./libs/MarcFile.js',
|
||||
'./crc.js',
|
||||
'./ips.js',
|
||||
'./aps.js',
|
||||
|
@ -49,13 +49,13 @@ self.onmessage = event => { // listen for messages from the main thread
|
|||
//console.log('postMessage');
|
||||
self.postMessage(
|
||||
{
|
||||
//romFileU8Array:event.data.romFileU8Array,
|
||||
//patchFileU8Array:event.data.patchFileU8Array,
|
||||
romFileU8Array:event.data.romFileU8Array,
|
||||
patchFileU8Array:event.data.patchFileU8Array,
|
||||
patchedRomU8Array:patchedRom._u8array
|
||||
},
|
||||
[
|
||||
//event.data.romFileU8Array.buffer,
|
||||
//event.data.patchFileU8Array.buffer,
|
||||
event.data.romFileU8Array.buffer,
|
||||
event.data.patchFileU8Array.buffer,
|
||||
patchedRom._u8array.buffer
|
||||
]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue