summaryrefslogtreecommitdiff
path: root/resources/scripts/blobs/download
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/blobs/download')
-rwxr-xr-xresources/scripts/blobs/download5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/scripts/blobs/download b/resources/scripts/blobs/download
index 8d7edac0..d1f5138e 100755
--- a/resources/scripts/blobs/download
+++ b/resources/scripts/blobs/download
@@ -265,6 +265,11 @@ Extract_ec() {
cd "${appdir}/${dl_path##*/}"
mv Rompaq/68*.BIN ec.bin
+ if [ ! -f ec.bin ]; then
+ unar -D ROM.CAB Rom.bin
+ mv Rom.bin ec.bin
+ fi
+
"${kbc1126_ec_dump}" ec.bin
)