11.0.0-33: Difference between revisions

memchunkhax fix attempt
Emufan4568 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 49: Line 49:
     for(size_t j=0; j<5; j++) {
     for(size_t j=0; j<5; j++) {
         r0 -= (r1 >>> 3) - data_ptr[j]
         r0 -= (r1 >>> 3) - data_ptr[j]
         r1 -= (r3 >>> (r2 & 0xf + 3)) ^ (r2 >>> (r0 & 0xf + 13))
         r1 -= (r3 >>> ((r2 & 0xf) + 3)) ^ (r2 >>> ((r0 & 0xf) + 13))
         r3 -= (r2 >>> r0) * r1
         r3 -= (r2 >>> r0) * r1
         r2 -= (r0 >>> r1) * r3
         r2 -= (r0 >>> r1) * r3
Line 237: Line 237:
The only actual change in .text was that only one function was updated. This function is only called by [[AMPXI:InstallTitlesFinish]] and [[AMPXI:InstallTitlesFinishFIRM]]. Right after the mediatype validation at the very beginning of the function, a code block was added for the functionality described below which is only executed on [[CONFIG_Registers#CFG_UNITINFO|retail]].
The only actual change in .text was that only one function was updated. This function is only called by [[AMPXI:InstallTitlesFinish]] and [[AMPXI:InstallTitlesFinishFIRM]]. Right after the mediatype validation at the very beginning of the function, a code block was added for the functionality described below which is only executed on [[CONFIG_Registers#CFG_UNITINFO|retail]].


This AMPXI function will now check the high 6-bits of the title-version(major-version) of the title to finish-install against a hard-coded list of (titleID, minimumVersionRequired) pairs. This applies to  MSET, Home Menu, spider, ErrDisp, SKATER, NATIVE_FIRM, and every retail system module. When the title-version is invalid, this returns the invalid title-version error(0xD8E08027).
This AMPXI function will now check the high 6-bits of the title-version(major-version) of the title to finish-install against a hard-coded list of (titleID, minimumVersionRequired) pairs. This list is identical for Old3DS/New3DS Process9. This applies to  MSET, Home Menu, spider, ErrDisp, SKATER, NATIVE_FIRM, and every retail system module. When the title-version is invalid, this returns the invalid title-version error(0xD8E08027).


This is intended to prevent downgrading, which ''seems'' to be broken.
This prevents downgrading on the ARM11 side via AM-service access.


====New3DS====
====New3DS====
The arm9loader wasn't changed at all.
The arm9loader wasn't changed at all.
Nothing New3DS-only changed in Process9.


===friends-sysmodule===
===friends-sysmodule===
Line 259: Line 261:
* [https://yls8.mtheall.com/ninupdates/reports.php?date=05-09-16_08-00-49&sys=ctr]
* [https://yls8.mtheall.com/ninupdates/reports.php?date=05-09-16_08-00-49&sys=ctr]
* [https://yls8.mtheall.com/ninupdates/reports.php?date=05-09-16_08-00-58&sys=ktr]
* [https://yls8.mtheall.com/ninupdates/reports.php?date=05-09-16_08-00-58&sys=ktr]
[[Category:Firmware Versions]]