Difference between revisions of "20.0.1"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 26: Line 26:
  
 
=== [[NS_services|ns]] ===
 
=== [[NS_services|ns]] ===
* The only changed func was L_dce70, prev ver @ L_dce70.
+
* The only changed function was L_dce70.
** The code at 0xdd0c8 was changed from <code>if (w27) {...}</code> to <code>if (w27 & 1) {...}</code>
+
** This function iterates through "tmpCache" and attempts to shrink all JPEG images with [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] in a loop.
** Error handling adjustments, etc.
+
** However, the objects holding the JPEG file context were being freed unconditionally which resulted in passing invalid arguments to [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] which, in turn, would return the error code 0x7EECE (2206-1015).
 +
** The issue was fixed by first ignoring any error code returned by [[Jpegdec_services#ShrinkJpegEx|ShrinkJpegEx]] and then properly implementing the conditions that lead to freeing the JPEG file objects.
  
 
==See Also==
 
==See Also==

Revision as of 21:01, 2 May 2025

The Switch 20.0.1 system update was released on May 2, 2025 (UTC). This Switch update was released for the following regions: ALL.

Security flaws fixed: <fill this in manually later, see the updatedetails page from the ninupdates-report page(s) once available for now>.

Change-log

Official ALL change-log:

  • Fixed an issue where Error Code: 2206-1015 sometimes occurred when restarting the system after updating to system version 20.0.0.
  • If you're encountering the error, update your Nintendo Switch console in Maintenance Mode.

System Titles

  • The following titles were updated:
    • Sysmodules: ns.

NPDM changes (besides usual version-bump): none.

RomFs changes:

IPC Interface Changes

No changes.

ns

  • The only changed function was L_dce70.
    • This function iterates through "tmpCache" and attempts to shrink all JPEG images with ShrinkJpegEx in a loop.
    • However, the objects holding the JPEG file context were being freed unconditionally which resulted in passing invalid arguments to ShrinkJpegEx which, in turn, would return the error code 0x7EECE (2206-1015).
    • The issue was fixed by first ignoring any error code returned by ShrinkJpegEx and then properly implementing the conditions that lead to freeing the JPEG file objects.

See Also

System update report(s):


Nintendo Switch System Versions
1.0.0
2.0.02.1.02.2.02.3.0
3.0.03.0.13.0.2
4.0.04.0.14.1.0
5.0.05.0.15.0.25.1.0
6.0.06.0.16.1.06.2.0
7.0.07.0.1
8.0.08.0.18.1.08.1.1
9.0.09.0.19.1.09.2.0
10.0.010.0.110.0.210.0.310.0.410.1.010.1.110.2.0
11.0.011.0.1
12.0.012.0.112.0.212.0.312.1.0
13.0.013.1.013.2.013.2.1
14.0.014.1.014.1.114.1.2
15.0.015.0.1
16.0.016.0.116.0.216.0.316.1.0
17.0.017.0.1
18.0.018.0.118.1.0
19.0.019.0.1
20.0.020.0.1