Commit Graph

1889 Commits

Author SHA1 Message Date
Michael Scire
087f682571 ams: may as well test removal of CRTP from Result 2024-06-05 09:22:27 -07:00
Michael Scire
5a92c368c2 ams: build with -std=gnu++23 2024-06-05 09:22:26 -07:00
Michael Scire
ebccfd031f ams: fix compilation with gcc 14 (closes #2330) 2024-06-05 09:22:26 -07:00
Michael Scire
9dc1479dee loader: update to reflect latest 18.0.0 changes
well, this sure is late, whoops
2024-06-05 09:22:26 -07:00
Michael Scire
fadec29817 kern: fix using memory config for half-of-true-size 2024-03-29 03:19:46 -07:00
Michael Scire
8b85add711 spl: add support for new spl:es command 33 2024-03-29 02:55:09 -07:00
Michael Scire
3cb06f04c2 erpt: actually support non-sequential ids, nintendo why 2024-03-29 02:55:08 -07:00
Michael Scire
e639b5cd4f erpt: add new IDs/categories 2024-03-29 02:55:08 -07:00
Michael Scire
4ccce57e63 exo/fusee: apparently 18.0.0 did not burn a fuse 2024-03-29 02:55:07 -07:00
Michael Scire
2d9d99cbf6 svc: advertise support for 18.3.0.0 2024-03-29 02:55:06 -07:00
Michael Scire
d7867cccd7 kern: fix whoops in new page table logic 2024-03-29 02:55:06 -07:00
Michael Scire
e0998df82e kern: refactor smc helpers to share more common logic 2024-03-29 02:55:05 -07:00
Michael Scire
7f661bd2c8 kern: return ExceptionType_UnalignedData on data abort caused by alignment fault 2024-03-29 02:55:05 -07:00
Michael Scire
2af5fbb951 kern: add KPageGroup::CopyRangeTo 2024-03-29 02:55:05 -07:00
Michael Scire
6571df6cbc kern: implement new attr tracking for memory range/traversal context 2024-03-29 02:55:04 -07:00
Michael Scire
5f4f668d97 kern: simplify size calculations in KPageTableBase::Read/WriteDebugIoMemory 2024-03-29 02:55:04 -07:00
Michael Scire
7ef8ee44f8 kern: pass properties directly to KPageTableBase::AllocateAndMapPagesImpl 2024-03-29 02:55:03 -07:00
Michael Scire
1e2dc76755 kern: take alignment argument in KMemoryManager::AllocateAndOpen 2024-03-29 02:55:03 -07:00
Michael Scire
60e3c8a4cc kern/os: support CreateProcessFlag_EnableAliasRegionExtraSize 2024-03-29 02:55:02 -07:00
Michael Scire
8af707b13f kern: revise KPageTableBase region layout logic to match 18.0.0 changes 2024-03-29 02:55:02 -07:00
Michael Scire
cafc0eae1b kern: fix longstanding bug in ConvertToKMemoryPermission 2024-03-29 02:55:01 -07:00
Michael Scire
44d728cc1c kern: pass kernel base from KernelLdr to Kernel 2024-03-29 02:55:01 -07:00
Michael Scire
d7c77f731e kern: use userspace access instructions to read from tlr 2024-03-29 02:55:00 -07:00
Michael Scire
18f07b30e5 fusee/exo/ams: update with new keydata/version enums 2024-03-29 02:55:00 -07:00
Michael Scire
a55e74aec3 fssrv: fix dumb assert error 2024-03-29 02:54:58 -07:00
Michael Scire
e49916968c strat: fix nx_debug build target 2024-03-29 02:54:57 -07:00
Michael Scire
068c369111 settings: support PortugueseBr (closes #2264) 2024-03-29 02:54:56 -07:00
Michael Scire
e015f83806 kern: fix various comment/style hygiene issues (thanks @liamwhite) 2024-03-29 02:54:55 -07:00
Michael Scire
fc34cf9b20 kern: allow ktrace map capability when ktrace is disabled 2024-03-29 02:54:55 -07:00
Michael Scire
0da455a186 loader/ro: abort if patching would go out of bounds 2024-03-29 02:54:54 -07:00
Michael Scire
bfc5583486 sf: fix ipc serialization bug (out object id offsets) 2023-11-28 13:02:10 -07:00
Michael Scire
d7a02b6ca1 kern: fix some comment typos 2023-11-16 16:25:26 -07:00
Michael Scire
43b8461b5f kern/svc: fix query/insecure names 2023-11-16 16:25:26 -07:00
Michael Scire
80bf6aeeed ams: bump version to 1.6.2, add changelog 2023-10-27 16:22:11 -07:00
Michael Scire
8fe4159ca2 erpt: add remaining SubmitFsInfo helpers 2023-10-27 16:22:10 -07:00
Michael Scire
2dd93851d9 erpt: SubmitFileSystemProxyErrorInfo 2023-10-27 16:22:09 -07:00
Michael Scire
04ba43ff98 erpt: GetMmcErrorInfo, GetSdCard*Info 2023-10-27 16:22:09 -07:00
Michael Scire
f67c400289 erpt: begin SubmitFsinfo (SubmitMmcDetailInfo) 2023-10-27 16:22:09 -07:00
Michael Scire
71e35e4880 jpegdec: fix abort check on output width 2023-10-27 16:22:08 -07:00
Michael Scire
166c49c893 jpegdec: update to reflect 17.0.0 changes 2023-10-27 16:22:08 -07:00
Michael Scire
44809d30cb pm: adjust resource limit function names 2023-10-27 16:22:07 -07:00
Michael Scire
965e05b3cc ams: bump version to 1.6.1 2023-10-16 12:30:46 -07:00
Michael Scire
944ff3d5f6 ncm: fix two comments 2023-10-16 12:30:44 -07:00
Michael Scire
2125f3c404 ncm: better detect + fix 17 brick after-the-fact
This adds detection for missing-save or empty-save, and rebuilds in either case.
2023-10-16 12:30:44 -07:00
Liam
8d495c256e fs: add missing stub for GetProgramId 2023-10-16 12:30:44 -07:00
Michael Scire
74d96b5fea kern: fix minor sin 2023-10-16 12:30:43 -07:00
Michael Scire
132558c338 erpt: amend min-version for latest CreateReportWithAttachments 2023-10-12 09:22:33 -07:00
Michael Scire
5d5699a7e8 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 09:22:32 -07:00
Michael Scire
338d7ce940 bpc.mitm/exo: support pmic reboot/shutdown on mariko (thanks @CTCaer) 2023-10-12 09:22:32 -07:00
Michael Scire
77ae1814ff erpt: remove deprecated fields, they didn't actually change IDs, just the mapping between id and name table index 2023-10-12 09:22:32 -07:00