1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-06-27 16:25:54 +00:00

reverted regressions

This commit is contained in:
Marc Robledo 2024-07-20 16:19:45 +02:00
parent cc3c5b971c
commit 3863c9a877

View file

@ -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);