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:
parent
cc3c5b971c
commit
3863c9a877
1 changed files with 1 additions and 3 deletions
|
@ -648,8 +648,6 @@ function _getHeaderChecksumInfo(file){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const BPS_MAGIC = "BPS1"; // Verifique o valor correto para a mágica do BPS
|
|
||||||
|
|
||||||
function _readPatchFile(){
|
function _readPatchFile(){
|
||||||
setTabApplyEnabled(false);
|
setTabApplyEnabled(false);
|
||||||
patchFile.littleEndian=false;
|
patchFile.littleEndian=false;
|
||||||
|
@ -681,7 +679,7 @@ function _readPatchFile(){
|
||||||
patch=parseVCDIFF(patchFile);
|
patch=parseVCDIFF(patchFile);
|
||||||
}else{
|
}else{
|
||||||
patch=null;
|
patch=null;
|
||||||
setMessage('apply', 'Unsupported patch format', 'error');
|
setMessage('apply', 'error_invalid_patch', 'error');
|
||||||
}
|
}
|
||||||
validateSource();
|
validateSource();
|
||||||
setTabApplyEnabled(true);
|
setTabApplyEnabled(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue