mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-01 07:15:06 +01:00
remove duplicated function
This commit is contained in:
parent
7e55b62962
commit
38c46c233b
@ -141,20 +141,6 @@ patchimage_ips () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
patchimage_ips () {
|
|
||||||
show_notes
|
|
||||||
check_input_rom
|
|
||||||
|
|
||||||
if [[ -f ${PATCH} ]]; then
|
|
||||||
ext="${ROM/*.}"
|
|
||||||
cp "${ROM}" "${GAMENAME}.${ext}"
|
|
||||||
"${IPS}" a "${PATCH}" "${GAMENAME}.${ext}" || exit 51
|
|
||||||
else
|
|
||||||
echo -e "error: patch (${PATCH}) could not be found"
|
|
||||||
exit 21
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
patchimage_hans () {
|
patchimage_hans () {
|
||||||
|
|
||||||
show_notes
|
show_notes
|
||||||
|
Loading…
Reference in New Issue
Block a user