fix rom-patcher loading

This commit is contained in:
Georges-Antoine Assi
2026-01-30 21:21:19 -05:00
parent 73d8c64562
commit 4639aa7f74
2 changed files with 13 additions and 13 deletions

View File

@@ -23,18 +23,18 @@ async function loadScripts() {
try {
importScripts(
"/rom-patcher/modules/BinFile.js",
"/rom-patcher/modules/HashCalculator.js",
"/rom-patcher/modules/RomPatcher.format.aps_gba.js",
"/rom-patcher/modules/RomPatcher.format.aps_n64.js",
"/rom-patcher/modules/RomPatcher.format.bdf.js",
"/rom-patcher/modules/RomPatcher.format.bps.js",
"/rom-patcher/modules/RomPatcher.format.ips.js",
"/rom-patcher/modules/RomPatcher.format.pmsr.js",
"/rom-patcher/modules/RomPatcher.format.ppf.js",
"/rom-patcher/modules/RomPatcher.format.rup.js",
"/rom-patcher/modules/RomPatcher.format.ups.js",
"/rom-patcher/modules/RomPatcher.format.vcdiff.js",
"/rom-patcher/BinFile.js",
"/rom-patcher/HashCalculator.js",
"/rom-patcher/RomPatcher.format.aps_gba.js",
"/rom-patcher/RomPatcher.format.aps_n64.js",
"/rom-patcher/RomPatcher.format.bdf.js",
"/rom-patcher/RomPatcher.format.bps.js",
"/rom-patcher/RomPatcher.format.ips.js",
"/rom-patcher/RomPatcher.format.pmsr.js",
"/rom-patcher/RomPatcher.format.ppf.js",
"/rom-patcher/RomPatcher.format.rup.js",
"/rom-patcher/RomPatcher.format.ups.js",
"/rom-patcher/RomPatcher.format.vcdiff.js",
"/rom-patcher/RomPatcher.js",
);
scriptsLoaded = true;

View File

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
declare module "rom-patcher/rom-patcher-js/*" {
declare module "rom-patcher/*" {
const value: any;
export default value;
}