From 3863c9a877d62c3adc7cc62af8016fce0b0c99f0 Mon Sep 17 00:00:00 2001 From: Marc Robledo Date: Sat, 20 Jul 2024 16:19:45 +0200 Subject: [PATCH] reverted regressions --- js/RomPatcher.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/RomPatcher.js b/js/RomPatcher.js index 76c0558..fe8551c 100644 --- a/js/RomPatcher.js +++ b/js/RomPatcher.js @@ -648,8 +648,6 @@ function _getHeaderChecksumInfo(file){ } -const BPS_MAGIC = "BPS1"; // Verifique o valor correto para a mágica do BPS - function _readPatchFile(){ setTabApplyEnabled(false); patchFile.littleEndian=false; @@ -681,7 +679,7 @@ function _readPatchFile(){ patch=parseVCDIFF(patchFile); }else{ patch=null; - setMessage('apply', 'Unsupported patch format', 'error'); + setMessage('apply', 'error_invalid_patch', 'error'); } validateSource(); setTabApplyEnabled(true);