Atmosphere/stratosphere
Michael Scire 337fcf07a4 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:17:05 -07:00
..
ams_mitm bpc.mitm/exo: support pmic reboot/shutdown on mariko (thanks @CTCaer) 2023-10-11 18:50:38 -07:00
boot boot: fix ChargerDriver inititalization correctness (thanks @CTCaer) 2022-09-16 15:34:38 -07:00
boot2 boot2: update for 16.0.0 2023-02-22 17:19:51 -08:00
creport ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
cs ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
dmnt dmnt: allow string termination to end a toggle (closes #1980) 2022-10-28 14:14:38 -07:00
dmnt.gen2 gdbstub: fix reading module name for homebrew 2022-10-15 15:13:05 -07:00
eclct.stub ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
erpt erpt: fix multiple issues with automatic report cleanup (thanks @yellows8) 2022-12-13 01:08:13 -07:00
fatal fatal: take good idea from shrek 2023-05-19 11:47:38 -07:00
fs ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
htc ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
jpegdec ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
loader loader: update usb3 patches for 16.0.0 2023-02-22 17:19:51 -08:00
LogManager ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
ncm ncm: work around change in Nintendo save handling behavior 2023-10-12 08:17:05 -07:00
pgl ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
pm romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. (#2122) 2023-05-14 03:06:52 -07:00
ro os: update os namespace for 15.0.0, loader/ro: update to use csrng, spl: bump max sessions 2022-10-12 09:15:16 -07:00
sm ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
spl os: update os namespace for 15.0.0, loader/ro: update to use csrng, spl: bump max sessions 2022-10-12 09:15:16 -07:00
TioServer ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
Makefile ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
stratosphere.mk ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00