TuxSH
3bc966f84e
Replace "Enable splash screen with no screen-init" by "Display splash screen before payloads".
...
The screens will be initied if and only if there are splash files to display.
2016-08-13 22:23:14 +02:00
TuxSH
457b4cec13
Disable interrupts and do some refactoring.
2016-08-13 20:49:40 +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
39b2aff627
Merge branch 'master' into developer
2016-08-06 22:38:54 +02:00
TuxSH
905777466d
Don't set retail keys on dev units.
2016-08-06 22:38:06 +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
eccf9eab93
Enable reading TwlBg and AgbBg as well as TWL_FIRM, AGB_FIRM and SAFE_FIRM from SD card.
...
It's up to the user to provide supported versions of these firmware binaries (>= 5.x for NATIVE_FIRM, latest versions for the other firmwares) when using this feature.
2016-08-04 13:44:51 +02:00
TuxSH
c36ad54bcb
Always load firmware.bin when it exists.
2016-08-04 11:16:28 +02:00
TuxSH
81e2b7c11c
Merge branch 'master' into developer
...
Conflicts:
source/patches.c
2016-08-04 00:18:53 +02:00
TuxSH
18b5cdcddf
Don't make any assumption regarding version when loading an external firmware file.
2016-08-04 00:05:01 +02:00
TuxSH
fe31114779
Fix build issue
2016-08-03 23:27:58 +02:00
TuxSH
df30a2a320
Fix bug regarding Arm9 exceptions
2016-08-03 23:15:45 +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
TuxSH
389a169443
pin.c cleanup
2016-08-03 20:49:10 +02:00
TuxSH
e01802e299
Check the PIN before loading a payload.
...
Also fix some bugs.
2016-08-03 16:58:03 +02:00
TuxSH
709aefba5d
Implement a PIN-checking system.
...
Idea and original code by @reworks
2016-08-03 14:13:26 +02:00
Aurora
e4ed713fce
Update FatFs to 0.12a
2016-07-20 15:07:13 +02:00
Aurora
d3c507b0d4
Minor stuff
2016-07-20 00:11:59 +02:00
Aurora
a68e14def3
Added error screen when booting an unsupported NAND with no firmware.bin or writing to the config fails, added code for creating the "luma" directory if it is missing
2016-07-18 23:07:28 +02:00
Aurora
8175642a2a
Fix changing the brightness
...
Needs to be static for some reason
2016-07-18 21:57:31 +02:00
Aurora
8d1befea9e
Rename "Updated SysNAND" to reflect its only new purpose
2016-07-18 19:10:41 +02:00
Aurora
e7b8a0ef39
Force A9LH detection is not needed anymore
2016-07-18 18:53:23 +02:00
Aurora
be6ee894f9
Fix firmware.bin loading
2016-07-18 17:28:04 +02:00
Aurora
e0e8ed2113
Hardcode 9.6 FIRM version for firmware.bin
2016-07-18 17:13:46 +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
Aurora
eb9c74a1ed
Bool-ify
2016-07-18 15:46:29 +02:00
Aurora
efd83e063e
Remove code to skip the rbeoot patch on 9.0 as it is not needed anymore with A9LH and constitutes a brick risk
2016-07-18 15:40:31 +02:00
Aurora
ae23a1c84d
Fixed Luma allowing users to go to the configuration after AGB_FIRM quits
2016-07-18 15:09:04 +02:00
TuxSH
fd1253caac
Merge branch 'master' into developer
2016-07-14 21:21:55 +02:00
TuxSH
a0e8bc1de3
Add support for launching >= 6.x/7.x emuNANDs properly when the sysNAND is on a lower firmware version
...
To launch 3.x - 4.x emuNANDs, you'll need to use an external firmware file (10.x or so should do the trick)
2016-07-14 21:20:45 +02:00
TuxSH
004f0652c9
Prevent double faults when either PC or SP is invalid
2016-07-14 20:08:31 +02:00
TuxSH
d5190cd788
Minor stuff (2)
2016-07-05 16:24:00 +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
7df9917a00
Merge branch 'master' into developer
2016-07-03 20:54:14 +02:00
TuxSH
575adcbb9d
Revert part of 136e0d89
(due to cache issues)
2016-07-03 20:53:13 +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
53d2aac2ae
Update CakeBrah
2016-07-02 17:38:33 +02:00
TuxSH
96211813e3
Use bool instead of u32 where it's relevant
2016-07-02 14:44:01 +02:00
TuxSH
153bbd6242
Merge branch 'master' into developer
...
Conflicts:
source/config.c
2016-07-02 12:48:08 +02:00
TuxSH
730e716f0f
Update CakeBrah
2016-07-02 12:32:39 +02:00
TuxSH
2238293c0f
Fix indentation
2016-07-02 10:59:21 +02:00
Aurora
29d8e637d8
One-liners ftw
2016-07-01 20:36:43 +02:00
Aurora
136e0d8974
Cleanup
2016-07-01 20:27:28 +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
a9db998d84
Fix potential bugs in the exception handlers
2016-06-18 13:10:07 +02:00
TuxSH
fcb8edffdf
Merge branch 'master' into developer
2016-06-14 19:51:49 +02:00
TuxSH
61684ecb68
We need to clean and flush caches before jumping to payloads, actually.
2016-06-14 19:50:38 +02:00