979c59d6f2
Merge commit 'bb07a7334f064c9512bd7e387dab1b9ef9e228cd' into 3gx-master
...
* commit 'bb07a7334f064c9512bd7e387dab1b9ef9e228cd': (23 commits)
update gitignore and makefile
rosalina: ndm + shutdown issue workaround
rosalina: ndm doesn't exist on SAFE_FIRM
Update bug-report.md, etc
rosalina: forgot float suffix in luminance.c
rosalina: display min/max luminance
hbloader: allow homebrew to write to the shared config page
rosalina: minor menu changes
rosalina/sm: properly interact with ndm
k11ext: refactor ndm:u workaround
k11ext: fix oops
rosalina: properly rewrite luminance-setting menu, etc.
sysmodules: use libctru configmem defs
Fix release building (#1454 )
sysmodules: introduce "luma shared config", rewrite ndmu workaround
rosalina: autoclose menu on sleep mode/shell closed to prevent lockup
rosalina: prevent disconnect when shell is closed
rosalina: properly restore screen filters when lid is reopened
rosalina: prevent sleep mode entry if debugger/input redir is enabled to prevent lockup
Separate exception dump parser in another repo, add boot.3dsx to release command
...
# Conflicts:
# .gitignore
# exception_dump_parser/luma3ds_exception_dump_parser/__main__.py
# sysmodules/rosalina/source/input_redirection.c
# sysmodules/rosalina/source/menu.c
2020-07-21 11:27:18 +02:00
TuxSH
768e587b76
sysmodules: introduce "luma shared config", rewrite ndmu workaround
2020-07-12 19:36:18 +01:00
a39053c3c3
Merge remote-tracking branch 'origin/master'
...
* 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
2020-07-04 02:43:27 +02:00
Aurora Wright
3a0418e279
loader: revert to use the NS patch due to a Nintendo bug: https://www.3dbrew.org/wiki/NCCH/Extended_Header#Flag1
2020-05-29 23:31:05 +02:00
Aurora Wright
1899bf377b
loader: replace NS N3DS CPU patch with exheader override, fix overriding exheader with homebrew
2020-05-29 20:57:05 +02:00
TuxSH
92da214066
loader: add dsp patch for safe_firm
2020-05-02 23:50:04 +01:00
TuxSH
166bdbeb7d
Add option to run rosalina on N3DS SAFE_FIRM.
...
Also enables a qtm error bypass
2020-05-02 23:32:21 +01:00
TuxSH
85cfa5cba6
loader: enable secureinfo patch on safe_firm
2020-05-02 18:26:58 +01:00
TuxSH
c7a3a0278c
add quick luma detection getinfo
2020-04-28 10:42:30 +01:00
TuxSH
ced78cb072
use -wrap for exit
2020-04-27 01:07:57 +01:00
TuxSH
f334e3b951
loader/pm: move "force init SD" code to pm. Greatly reduces the number of Arm9 svcBreak with 0xC8804465
2020-04-27 00:47:16 +01:00
TuxSH
eb37ac4142
redefine exit methods for sysmodules. Partially fixes the shutdown issue
2020-04-26 01:50:47 +01:00
TuxSH
31891efbca
Current year is 2020
2020-04-25 13:42:10 +01:00
TuxSH
0543c208fd
Fix #1375 properly this time
...
Thanks @muhmuhten
2020-04-24 22:52:05 +01:00
TuxSH
26454dc832
loader/patcher.c: make gcc stop sometimes complaining
2020-04-19 18:03:45 +01:00
TuxSH
5a83a46423
Merge pull request #1349 from leoetlino/bps
...
loader: Add support for BPS patches
2020-04-16 23:35:14 +02:00
TuxSH
55d51217d8
Fix hex parsing in patcher.c (langemu). Fixes #1375
...
Thanks @Lizardon1
2020-04-15 22:28:38 +01:00
LĂ©o Lam
8233d4e226
loader: Add support for BPS patches
...
The BPS format allows distributing patches that are smaller and that do
not contain copyrighted content if data is relocated
(unlike non-trivial IPS patches).
This is essential for games such as Majora's Mask 3D that have three
barely different code revisions. Supporting all three versions would
demand an unreasonable amount of work; with BPS patches only one
version has to be supported.
The patcher is written in C++ in order to make it possible to share the
implementation with Citra and because a C version would be a lot more
ugly and tedious to write. The patcher is non-intrusive for the rest of
the codebase and self-contained so hopefully that isn't an issue.
This adds roughly ~0x500 bytes of code to the loader sysmodule.
Code looks reasonably optimised (in IDA). Tested and works on an o3DS.
2019-12-21 18:32:18 +01:00
LĂ©o Lam
ca49956219
loader: Compile C++ code with -std=gnu++17
2019-12-21 17:49:58 +01:00
LĂ©o Lam
c3b97999f5
loader: Fix boolean logic error
2019-07-07 15:06:15 +02:00
PabloMK7
f1b787c7d9
Merge pull request #3 from AuroraWright/master
...
Merge 10.0.1
2019-07-06 09:37:41 +02:00
TuxSH
c913de1e67
Fix layeredfs, fix #1280 #1275 #1262 & others
2019-07-03 22:19:38 +02:00
PabloMK7
8168d2c2f9
Manually merge files
2019-06-29 16:26:03 +02:00
TuxSH
4285736286
fix layeredfs regression
2019-04-21 12:15:50 +02:00
TuxSH
687dfddd9f
HBLDR_DebugNextApplicationByForce changes
2019-04-19 00:37:20 +02:00
TuxSH
0b33134f6c
Loader services refactor
2019-04-18 19:48:01 +02:00
TuxSH
ef034a87d4
revert fsldr change, fix null deref in pm
2019-03-29 22:40:54 +01:00
TuxSH
e688ec9257
move patches to pm
2019-03-29 19:07:24 +01:00
TuxSH
e57abad52f
ctrulib changes
2019-03-29 00:09:59 +01:00
TuxSH
68b8c99ad0
Fix parallel building
2019-03-16 13:10:30 +01:00
TuxSH
6199f598e5
Add -nocodepadding to cxis as it ought to be
2019-03-15 23:03:25 +01:00
TuxSH
d28e961adc
Use <string.h> & <3ds/exheader.h>, fix some bugs, etc.
...
also fix all warnings and use -Werror
2019-03-15 23:03:23 +01:00
TuxSH
9fad2dff21
Add top-level Makefile for sysmodules
2019-03-15 23:03:20 +01:00
TuxSH
4b40dd52f4
Give a proper build system for each sysmodule, k11ext, arm11.
...
Previously, these Makefiles didn't correctly track header changes.
The project doesn't build as a whole, future commits will fix it.
2019-03-15 23:03:19 +01:00
TuxSH
6bd7070d38
Do the same for romfs redit => get rid of armips; update README.md
2019-03-15 23:03:18 +01:00
Nanquitas
4b341e039a
Merge branch 'master' of https://github.com/AuroraWright/Luma3DS
2018-11-15 13:49:35 +01:00
Nanquitas
2182742708
Implement plugin loader
2018-11-15 13:38:19 +01:00
Aurora Wright
53622d777b
Fix https://github.com/AuroraWright/Luma3DS/issues/1095 and https://github.com/AuroraWright/Luma3DS/issues/1118
2018-08-21 18:57:45 +02:00
TuxSH
553f8d2533
Remove lto for sysmodules
2018-01-12 11:20:17 +01:00
Mikaela RJ Szekely
93561003e8
Implement #989 : Add configurable splash duration
2017-12-28 21:50:06 -05:00
TuxSH
22a8661fe1
Always patch FS and P9, remove SM service checks
2017-11-02 21:52:14 +01:00
Aurora Wright
76f057dafb
Remove friends patch as it's useless
2017-10-05 18:45:06 +02:00
Aurora Wright
f46773ba64
Stub isTitleAllowed
2017-09-20 01:36:02 +02:00
Aurora Wright
f67d333457
Update fpdver
2017-09-19 14:46:42 +02:00
Aurora Wright
13317b9548
Change ntrboot behavior, turn Luma into a chainloader when used as ntrboot FIRM as it can not be functional, disable FIRM protection when ran from ntrboot B9S
2017-08-20 16:08:54 +02:00
Aurora Wright
36c1da1d61
Add mention of exheaders in the Enable game patching description
2017-08-07 21:20:08 +02:00
Aurora Wright
a0c2b43b34
Implement loading of exheaders from SD/CTRNAND (must be called luma/titles/TITLEID/exheader.bin), thanks to @HiddenRambler!
2017-08-01 17:38:23 +02:00
Aurora Wright
89fca38807
Merge master into local branch
2017-07-05 01:37:36 +02:00
Aurora Wright
dcc0eed69c
Fix LayeredFS for games like Pokemon Art Academy which mistakenly use two forward slashes after the mountpoint
2017-07-05 01:31:04 +02:00
Aurora Wright
b88dc9ac6a
Only check in .text
2017-06-28 18:14:05 +02:00