1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-20 22:13:24 +01:00
Atmosphere/libraries
Michael Scire 02e987819b ncm: work around change in Nintendo save handling behavior
Static save files do not require an entry in the save data indexer to mount.
Prior to 17.0.0, save data files were considered static if userid was 0.
In 17.0.0+, only 8000000000000000 is static.

However, some users using cfw do not have an entry for 8000000000000120 in the indexer,
for various reasons (but mostly manual nand-restore, I think). Thus, on boot of 17.0.0+,
FS will say 8000000000000120 is not present (not in indexer), and NCM will create it anew.

The 8000000000000120 save will then be empty, and then the firmware can't boot.

To workaround this, logic has been re-enabled on 17.0.0+ for building the content meta database.
Thus, if the user encounters this error, the 8000000000000120 save will be emptied, but then
it will be automatically reconstructed, fixing the problem.
2023-10-12 08:55:58 -07:00
..
config windows: disable -fdata-sections 2023-03-09 23:46:54 -07:00
libexosphere fusee/exo: implement the usual changes for new firmware support 2023-10-12 08:55:58 -07:00
libmesosphere kern: fix assert usage in process load 2023-10-12 08:55:58 -07:00
libstratosphere ncm: work around change in Nintendo save handling behavior 2023-10-12 08:55:58 -07:00
libvapours ncm: update for new 17.0.0 apis 2023-10-12 08:55:58 -07:00
.gitignore
.gitmodules
.gitrepo git subrepo push libraries 2023-08-21 17:27:16 -07:00
LICENSE
README.md

License

Atmosphere-libs is a collection of libraries for doing operating system development for the Nintendo Switch.

Licensing

This software is licensed under the terms of the GPLv2, with exemptions for specific projects noted below.

You can find a copy of the license in the LICENSE file.

Exemptions:

  • The yuzu Nintendo Switch emulator and the Ryujinx Team and Contributors are exempt from GPLv2 licensing. They are permitted, each at their individual discretion, to instead license any source code authored for the atmosphere-libs project as either GPLv2 or later or the MIT license. In doing so, they may alter, supplement, or entirely remove the copyright notice for each file they choose to relicense. Neither the Atmosphère project nor its individual contributors shall assert their moral rights against any of the aforementioned projects.
  • Nintendo is exempt from GPLv2 licensing and may (at its option) instead license any source code authored for the atmosphere-libs project under the Zero-Clause BSD license.

Credits

Atmosphere-libs is currently being developed and maintained by SciresM.

In addition to those credited in Atmosphère's credits, we would like to thank for contributing to atmosphere-libs in some significant way:

Additional credits may be found in the README.md for specific libraries.