Commit Graph

752 Commits

Author SHA1 Message Date
Aurora Wright 0c68750056 Refactor payload loading, fix messy externs, add safety checks to Nintendo FIRMs, fix some Nintendo FIRMs not being loaded as payloads 2017-06-10 02:39:00 +02:00
TuxSH 901d4992c0 Attempt fixing svcConnectToPortInitHook.s again 2017-06-09 18:10:02 +02:00
Aurora Wright 4d47d891d1 Fix max module size check, static-ify more strings 2017-06-09 17:29:26 +02:00
TuxSH a7046909ec Use static const when appropriate 2017-06-09 14:26:51 +02:00
Aurora Wright 4bc95979de Revert #949d219c726e41cca84c873e7e200be14af13f63 (breaks building on *nix) 2017-06-09 13:44:04 +02:00
TuxSH 949d219c72 lolwut this fixes building on WSL
maybe memsearch is flasky on unaligned patterns, dunno
2017-06-09 05:00:38 +02:00
TuxSH 9a3d9aed30 Always enable ARM9 exceptions, update .gitignore 2017-06-09 02:31:14 +02:00
TuxSH 4d99143da0 Merge pull request #561 from SciresM/master
Add config option to disable exception vectors.
2017-06-09 00:17:14 +02:00
TuxSH 461035b212 Fix bug(s), refactor svcConnectToPortInitHook.s, cleanup 2017-06-08 21:35:41 +02:00
Michael Scire 0694ea8367 Add config option to disable exception vectors. 2017-06-07 17:48:30 -07:00
TuxSH a16d1ebe33 Refactor k11 main hook
Much less error-prone now.
2017-06-07 22:13:05 +02:00
Aurora Wright 44cafe3f46 Fix mismerges 2017-06-07 19:15:51 +02:00
Aurora Wright 31f4419eec Refactor screen functions, completely fix config not saving bug 2017-06-06 02:12:18 +02:00
TuxSH 21db0d45bd Added Rosalina, see details
- see release notes
- ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)
- (∩ ͡° ͜ʖ ͡°)⊃━☆゚
- ( ͡ᵔ ͜ʖ ͡ᵔ) ♫┌( ͡° ͜ʖ ͡°)┘♪ ♫└( ͡° ͜ʖ ͡°)┐♪
2017-06-05 02:02:04 +02:00
Aurora Wright 4429cb2095 Refactor chronometer functions 2017-06-04 18:56:44 +02:00
Aurora Wright cab54d1b31 Move i2c delay to i2c.c 2017-06-04 18:32:09 +02:00
Aurora Wright d802e5329c Fix overlap check 2017-06-03 01:02:52 +02:00
TuxSH 118f81d347 0xBEEF -> 0x1BEEF 2017-06-02 20:36:58 +02:00
Aurora Wright ba3740a77a Return if the FIRM payloads filesize is different than expected 2017-06-02 19:35:14 +02:00
Aurora Wright 5379c05001 Update gitignore, Minor style changes 2017-06-02 19:35:09 +02:00
TuxSH 5b34b2d114 Change directory structure 2017-06-02 19:35:08 +02:00
TuxSH 3ea8734fdd More complete TWL key init 2017-06-02 19:35:07 +02:00
Aurora Wright 8e22080e05 Backport FIRM whitelist from b9s 2017-06-02 19:35:05 +02:00
TuxSH 692a94fe5e Fix call to patchK11ModuleLoading 2017-06-02 19:35:04 +02:00
Aurora Wright 01c760ab88 Not needed/usable 2017-06-02 19:35:03 +02:00
Aurora Wright 28e5d8107f Remove hardcoded CTRNAND FAT offsets, calculate them from parsing NCSD + CTR MBR 2017-06-02 19:35:02 +02:00
Aurora Wright 710d8cd15c Fix DTCM 2017-06-02 19:35:00 +02:00
TuxSH 8395540288 Refine the N3DS check 2017-06-02 19:34:59 +02:00
TuxSH d57d8aaae7 Use DTCM for ctrNandWrite's buffer, crt0 changes, reboot patch changes 2017-06-02 19:34:58 +02:00
Aurora Wright 10f555b6fb Fix payload size check 2017-06-02 19:34:57 +02:00
Aurora Wright 9f30244bfb Refactoring, fix bugs, move loader to itcm (without overwriting exception handlers), support for running Luma standalone 2017-06-02 19:34:55 +02:00
TuxSH 90b54581b0 Fix two bugs 2017-06-02 19:34:51 +02:00
TuxSH 68d9674ca3 Refactor error 2017-06-02 19:34:49 +02:00
TuxSH a9a8edeaf4 Handle arguments in a better way 2017-06-02 19:34:48 +02:00
TuxSH dd21a3930d Adapt changes from b9s/next 2017-06-02 19:34:47 +02:00
TuxSH 53209b9be0 Begin turning Luma3DS into a proper firm
Unfinished work
2017-06-02 19:34:46 +02:00
Aurora Wright 43f4475272 Move sdmmc init to a more proper place 2017-05-22 04:00:10 +02:00
Aurora Wright a7ed32e206 Consistency 2017-05-21 19:59:02 +02:00
Aurora 1c7eb8f97a Merge pull request #454 from Margen67/master
Fix typo
2017-05-21 17:57:02 +02:00
Aurora Wright a71c5f42fc Not needed 2017-05-20 15:30:18 +02:00
Aurora Wright de0f1dc156 Use arm11 entry define for screen.c, fix isFirmlaunch not being always defined 2017-05-20 13:52:47 +02:00
Margen67 bb05961f70 Fix typo 2017-05-19 20:42:15 -07:00
Aurora Wright 57900e91ba Minor stuff 2017-05-20 05:26:01 +02:00
Aurora Wright 98f650a5de Make loader recognize SD/CTRNAND modes and only look in the appropriate one 2017-05-20 05:09:48 +02:00
Aurora Wright 55b2db4a8d Minor cleanup 2017-05-20 04:43:04 +02:00
Aurora Wright fbe3088744 No longer needed 2017-05-20 03:53:36 +02:00
TuxSH c73fec46e6 Fix memcmp u"nand" in fs.c 2017-05-20 02:44:28 +02:00
Aurora Wright b493e2bd5f Fix minor firmlaunch patch bug 2017-05-20 02:29:26 +02:00
Aurora Wright 78a7d6c5af General cleanup/refactoring 2017-05-20 02:08:25 +02:00
TuxSH a8b2e9a50c Update config.c 2017-05-20 01:05:33 +02:00