* origin/master: (98 commits)
rosalina: fix for latest libctru changes
pm: fix critical bugs where 1.0(?) titles not in the list have scheduling mode misconfigured
loader: revert to use the NS patch due to a Nintendo bug: https://www.3dbrew.org/wiki/NCCH/Extended_Header#Flag1
loader: replace NS N3DS CPU patch with exheader override, fix overriding exheader with homebrew
rosalina: ntp: use PTMSYSM_SetRtcTime
revert the memory map to the old one (mostly)
fix module loading
kext: fix outer memory cacheability on newer versions
so bascially rosalina's image...
rosalina: add hidden debug info menu
rosalina: refactor menu handling
rosalina: rephrase brightness warning
rosalina: add brightness control menu
rosalina/pm: remove fs patch, use pm instead
rosalina: cleanup variable names
rosalina: reorder menus
Fix latest commit
rosalina menu: add scrolling, cpad and inputredir support (note: no ZL/ZR due to technical reasons)
stuff
newlib...
...
# Conflicts:
# k11_extension/source/main.c
# k11_extension/source/svc/UnmapProcessMemoryEx.c
# sysmodules/rosalina/Makefile
# sysmodules/rosalina/include/menu.h
# sysmodules/rosalina/include/utils.h
# sysmodules/rosalina/source/errdisp.c
# sysmodules/rosalina/source/main.c
# sysmodules/rosalina/source/menu.c
# sysmodules/rosalina/source/menus.c
Based off the conditions, this is a potential null pointer dereference
that can occur. We need to check for null before accessing
nbPendingNotifications.
This is unlikely to occur in common usage, however it's a fairly
straightforward amendment.
In this case pm+sm were supposed to automatically unregister ro's services (the kernel can close a dying process's handle automatically). Not doing this apparently induced a reference leak of DevMenu's as a process, preventing it to be destroyed and the memory allocation reslimit counter to be updated by KProcess's destructor accordingly.