* 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
Rethinked and revised this function.
This previous one worked by "accident".
More a sheer luck of offsets on current firmware (as of writing)
But now, this is more mathematically correct way of creating a
THUMB -> ARM BLX instruction.
Also setting the new op in a set of 2 u16,
because patching code is in thumb.
LD interprets "a.o b.o c.o(sectionexpr)" as 3 separate input commands, i.e. it will copy all the sections from a.o, then b.o and the sections matching (sectionexpr) from c.o in that order; (a.o b.o c.o)(sectionexpr) results in a syntax error.