mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 18:16:56 +01:00
small changes
This commit is contained in:
parent
ed955234b9
commit
1ce7782264
@ -12,7 +12,7 @@ This function returns true, then there is HW_AHBPROT access available.
|
||||
>> Flags: none
|
||||
|
||||
******
|
||||
if (have_ahbprot()) {
|
||||
if (have_ahbprot())
|
||||
do_something
|
||||
else
|
||||
do_something_else
|
||||
@ -29,6 +29,7 @@ This function can be used to keep HW_AHBPROT access when going to reload IOS
|
||||
|
||||
>> Return:
|
||||
-5: no HW_AHBPROT access
|
||||
-7: patching HW_AHBPROT access failed
|
||||
>0: success
|
||||
|
||||
******
|
||||
@ -72,7 +73,7 @@ Sciifii:
|
||||
* ES OpenTitleContent 1 & 2
|
||||
* ES ReadContent Prot
|
||||
* ES CloseContent
|
||||
* Es TitleVersionCheck
|
||||
* ES TitleVersionCheck
|
||||
* ES TitleDeleteCheck
|
||||
|
||||
vWii:
|
||||
|
@ -122,7 +122,10 @@ u32 IosPatch_AHBPROT(bool verbose) {
|
||||
disable_memory_protection();
|
||||
//return apply_patch("set_ahbprot", check_tmd_old, sizeof(check_tmd_old), check_tmd_patch, sizeof(check_tmd_patch), 6, verbose);
|
||||
ret = apply_patch("es_set_ahbprot", es_set_ahbprot_old, sizeof(es_set_ahbprot_old), es_set_ahbprot_patch, sizeof(es_set_ahbprot_patch), 25, verbose);
|
||||
xret = ret;
|
||||
if (ret)
|
||||
xret = ret;
|
||||
else
|
||||
xret = -7;
|
||||
} else {
|
||||
xret = -5;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user