1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2025-01-10 19:36:19 +00:00
Atmosphere/libraries/libstratosphere/source
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
..
ams bpc.mitm/exo: support pmic reboot/shutdown on mariko (thanks @CTCaer) 2023-10-12 08:55:58 -07:00
boot2 boot2: update for 16.0.0 2023-02-22 17:19:51 -08:00
cal
capsrv
cfg
crypto
cs
dd kern: update for new device map semantics 2022-10-12 09:15:16 -07:00
ddsf
diag diag: fix process name cache 2022-08-11 14:19:26 -07:00
dmnt
erpt/srv erpt: remove deprecated fields, they didn't actually change IDs, just the mapping between id and name table index 2023-10-12 08:55:58 -07:00
err
fs fs: update OpenCodeFileSystem abi for 17.0.0 2023-10-12 08:55:58 -07:00
fssrv fs: update OpenCodeFileSystem abi for 17.0.0 2023-10-12 08:55:58 -07:00
fssystem fssystem: fix typo error in BucketTree::Visitor::MoveNext 2023-08-15 14:47:09 -07:00
gc/impl
gpio gpio: really not sure how this works before, lol 2023-01-30 23:13:45 -07:00
hid
hos
htc
htcfs
htclow
htcs
i2c
init
kvdb
ldr
lm
lmem
lr lr: new AOC commands use MapAlias for paths... 2022-10-12 09:15:16 -07:00
mem
mitm mitm: fix errant include on non-hos 2023-06-06 19:32:06 -07:00
ncm ncm: work around change in Nintendo save handling behavior 2023-10-12 08:55:58 -07:00
nim
nsd/impl/device
os os: add UnsafeMemory apis 2023-03-01 03:20:49 -07:00
osdbg
patcher ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
pgl libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build) 2023-02-22 17:19:51 -08:00
pinmux/driver
pm dmnt.gen2: enable attach to arbitrary program id 2023-10-11 19:50:09 -07:00
powctl
psc
pwm strat: update for code changes found in boot (closes #1797) 2022-05-05 17:45:55 -07:00
ro/impl
scs
settings
sf ams: fix compilation with gcc 13 2023-05-07 03:36:46 -07:00
sm
socket util: update some bit utility logic 2022-04-03 10:51:46 -07:00
spl exo/spl: Add new EsCommonKeyType 2023-10-12 08:55:58 -07:00
sprofile/srv
time strat: add windows socket api, linux/macos TODO 2022-03-27 14:36:31 -07:00
updater
usb
util
wec
service_guard.h