Aurora
3034420ac2
Merge changes, also change the dev build variable to DEV, which must have a value of TRUE
2016-09-11 00:58:34 +02:00
TuxSH
e6645554f0
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-09-10 21:35:23 +02:00
TuxSH
0f83d1ffaa
Fix broken assumptions and bugs
2016-09-10 21:12:53 +02:00
Aurora
29dcfca608
Copyright stuff
2016-09-08 23:07:03 +02:00
Aurora
f1cb9630ec
Improve readability
2016-09-08 22:33:25 +02:00
Aurora
dc8e4e5f14
Merged the two branches
2016-09-08 18:50:17 +02:00
Aurora
bf234950cb
Merge master into developer
2016-09-03 21:55:37 +02:00
Aurora
bd992fca15
Remove the TWL dev launcher patch as it became unnecessary
2016-09-03 19:11:44 +02:00
Aurora
cce4a6d07f
Cleanup, re-enabled module patch on N3DS on 8.1, 9.0 and >= 11.0 FIRMs
2016-09-02 22:51:11 +02:00
Aurora
b6d91375a5
Minor cleanup
2016-08-30 21:56:27 +02:00
Aurora
e8b9e49f57
Fix derps (thanks to @Mrrraou), general cleaup, rewrite of the modules copying function
2016-08-30 02:08:07 +02:00
TuxSH
cb9576b10e
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/firm.h
source/patches.c
source/patches.h
2016-08-29 20:12:23 +02:00
Aurora
8209433696
Cleanup and refactoring
2016-08-29 15:42:54 +02:00
Aurora
52999db43a
Readability stuff
2016-08-28 14:41:18 +02:00
Aurora
9c5248b87a
Cleanup previous commit
2016-08-28 02:38:52 +02:00
TuxSH
83a0293af4
Add support (firmprot and firmlaunch patches) for 2.x on sysNAND
2016-08-28 00:32:47 +02:00
TuxSH
84f3eddaf8
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/config.h
2016-08-27 19:31:42 +02:00
Aurora
31458e9938
Implement a new config file format which allows invalidating the config with new releases, fix config-related bugs, cleanup
2016-08-27 16:00:15 +02:00
TuxSH
259bcc686c
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/firm.c
2016-08-26 23:28:31 +02:00
Aurora
60c4956290
Fix wrong bootconfig being picked up by 3ds_injector, cleanup
2016-08-26 18:44:39 +02:00
TuxSH
27ea6b96c4
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/firm.c
source/patches.c
2016-08-25 18:49:00 +02:00
TuxSH
384dd2ad81
Implement on-the-fly patching of TwlBg
...
(and port the patches from https://github.com/ahezard/twl_firm_patcher ; big thanks to ahezard and people mentioned in this page; also to Subv for the original patching idea (for NATIVE_FIRM))
2016-08-25 00:13:43 +02:00
TuxSH
4885e0b8d8
On second thought...
2016-08-23 20:51:48 +02:00
TuxSH
2a84911d3b
Setting "Dev. options" to "None" now disables the exception handlers and related patches (again)
...
Port the UNITINFO patch to TWL/AGB (although it doesn't make debugging information display on fatal errors) and SAFE firms.
On dev units this patch will set it to its "retail" value (i.e. 0)
2016-08-23 20:39:42 +02:00
TuxSH
a13fdeecf6
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-08-21 22:31:39 +02:00
TuxSH
253e031f83
Add support for loading /luma/TwlBg.cxi (on dev branch this will take precedence)
2016-08-21 22:09:27 +02:00
TuxSH
1dd6a9821a
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/patches.c
2016-08-18 00:35:20 +02:00
TuxSH
50a2424001
Implement svcGetCFWInfo in place of svc 0x2e (which is stubbed). Luma3DS now boots ca. 1.5s faster
...
Fix bug in pin.c where the START button wasn't recognized as well.
2016-08-17 23:47:30 +02:00
TuxSH
88891ef6cd
Setting "Dev. Options" to "None" no longer disable exception handling and related patches.
...
Removed the patch that disables execution protection on the global kernel FCRAM and VRAM mapping as it was unused, worthless, and caused bugs in the past.
2016-08-13 15:31:08 +02:00
TuxSH
25811e2b52
Remove handling of kernel panics for SAFE_FIRM k9, fix it for LGY FIRMs.
2016-08-13 11:47:10 +02:00
TuxSH
f81c92e35b
The user-mode context is now dumped (instead of the supervisor-mode context) on a svcBreak call.
...
Kernel panics are now handled by the exception handlers as well.
2016-08-12 15:17:19 +02:00
TuxSH
4e21cf4f1c
Add an option to disable access checks (svc, service and arm9 flag checks) (thanks to @Subv for the most part)
2016-08-04 20:10:31 +02:00
TuxSH
cf7fa8ecbd
Merge branch 'master' into developer
...
Conflicts:
source/config.c
source/firm.c
source/fs.c
source/fs.h
source/patches.c
source/patches.h
source/utils.h
2016-08-03 22:52:51 +02:00
Aurora
c63e46b1a9
Added FIRM version detection, removed firmware.bin loading unless an unsupported O3DS NATIVE_FIRM (pre-5.0) is being loaded, skip patching old unsupported O3DS AGB/TWL FIRMs, only apply 11.0 patches with 11.0 or greater
2016-07-18 16:58:29 +02:00
TuxSH
2412faf033
Merge branch 'master' into developer
2016-07-05 16:11:58 +02:00
TuxSH
72caad86cc
Minor stuff
2016-07-05 16:05:53 +02:00
TuxSH
2d6debddb9
Merge branch 'master' into developer
...
Conflicts:
source/firm.h
source/fs.h
source/patches.h
2016-07-02 17:44:08 +02:00
TuxSH
96211813e3
Use bool instead of u32 where it's relevant
2016-07-02 14:44:01 +02:00
TuxSH
0eb87df84f
Enable support for reading FIRM system modules from SD card (in /luma/sysmodules)
2016-06-27 13:21:08 +02:00
TuxSH
0ced86b55f
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.h
2016-06-13 23:16:33 +02:00
TuxSH
2943dcb2e9
Refactor firm.c as well as other files
2016-06-12 22:14:52 +02:00
TuxSH
e478908dca
Make the exception handlers dump more information
...
You'll need to the latest version of exception_dump_parser.py
2016-06-07 19:25:45 +02:00
TuxSH
edff11be7b
Stub svcBreak with "bkpt 65535" so we can debug it
2016-06-04 21:14:00 +02:00
TuxSH
2d7dde9cf9
ARM11 exception handlers (not working yet, it fails to retrieve the data after the reboot)
...
Uncomment the appropriate line in firm.c to test.
2016-06-02 22:33:44 +02:00
TuxSH
bafba1197e
Fix and refactor stuff
2016-05-25 22:56:26 +02:00
TuxSH
2fab0be5e8
Merge branch 'master' into developer
...
Conflicts:
Makefile
source/firm.c
source/patches.c
source/patches.h
2016-05-25 22:28:50 +02:00
TuxSH
7ea2a0a278
Remove the anti-DG check on 11.0 firmware (and future ones)
2016-05-25 20:50:45 +02:00
Aurora
9aeac7af92
Move patches to patches.c and emunand.c, section 0 copying to launchFirm for consistency
2016-05-25 14:34:43 +02:00
TuxSH
2c10b6bff2
Merge branch 'master' into developer
...
Conflicts:
source/firm.c
source/patches.c
source/patches.h
2016-05-12 14:31:48 +02:00
TuxSH
76acfd9934
Minor pedantic changes (2)
2016-05-12 13:35:39 +02:00