Commit Graph
100 Commits
Author SHA1 Message Date
Aurora Wright f27cdb4543 Also fix RBGA4 (untested) 2017-09-23 22:34:28 +02:00
Aurora Wright bb5518b0f6 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-09-22 18:05:10 +02:00
Aurora Wright ac73a96ce2 Set default firmSource for CTRNAND mounting in crypto.c, move CTRNAND mounting for SD mode to firm.c 2017-09-22 18:05:03 +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 4116c1e00f Update FIRM loading magic, only deinit LCDs if they are inited, fix ntrboot naming 2017-09-07 05:24:43 +02:00
Aurora Wright bc1aa15dd7 Add more checks, make the emuNAND SD check only occur when emuNAND is being booted 2017-08-28 14:46:18 +02:00
Aurora Wright ecd27f7eaa Fix diskio indentation 2017-08-28 02:54:56 +02:00
Aurora Wright 618ce671ac Fix previous commit, deinit screens on ARM9 exception, add check for write protect switch on writing operations 2017-08-28 02:43:12 +02:00
Aurora Wright 33436ae2a6 Fix derp with previous commit 2017-08-27 16:24:04 +02:00
Aurora Wright 9f2b66ac51 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-08-27 16:20:52 +02:00
Aurora Wright df93e4797e Refactor boot mode/firmlaunch detection, fix firmlaunch from FIRM boots 2017-08-27 16:20:41 +02:00
Aurora Wright 538d1dec77 Minor style stuff 2017-08-21 19:33:31 +02:00
Aurora Wright d358df48a6 Wait for ntrboot buttons not to be held 2017-08-20 18:23:50 +02:00
Aurora Wright f619dafff1 Added displaying boot source and loader on the bottom screen in the config 2017-08-20 17:00:47 +02:00
Aurora Wright 0419fc4e30 Reinstate ntrboot display in config 2017-08-20 16:16:20 +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 18db70a669 Minor style stuff 2017-08-19 02:54:38 +02:00
Aurora Wright c92de03a5f Always erase exception dump in memory 2017-08-17 17:38:42 +02:00
Aurora Wright 3f356da879 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-08-17 17:33:37 +02:00
Aurora Wright 9efac01c86 Fix derp 2017-08-17 17:33:18 +02:00
Aurora Wright aa8e0bda8c Update FatFs to R0.13 2017-08-16 19:37:39 +02:00
Aurora Wright 04d0770b90 Add missing info for data aborts in the exception parser and turn it into a pip module 2017-08-16 18:59:12 +02:00
Aurora Wright fbf8a1b6d9 Minor code syntax stuff 2017-08-16 18:04:22 +02:00
Aurora Wright a3cb6a622d Merge https://github.com/AuroraWright/Luma3DS/pull/793 , clarify the exception dumps' paths 2017-08-16 16:55:07 +02:00
Aurora Wright 0790a3ceb3 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-08-16 15:50:06 +02:00
Aurora Wright 4fa12f90fc Fix derp 2017-08-16 15:49:57 +02:00
Aurora Wright 9c6b540905 Do not hardcode FBs in ARM11, do not set FBs twice on screen init 2017-08-13 17:36:31 +02:00
Aurora Wright 49c0ab65df Check r0 and r1 too for firm0 detection 2017-08-11 23:54:28 +02:00
Aurora Wright 8f9c1305e4 Reinstate unsupported loader error 2017-08-11 23:48:32 +02:00
Aurora Wright f6483ec602 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-08-07 21:20:18 +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 9273a88db7 It seems FB setup needs to be done first 2017-07-09 19:21:12 +02:00
Aurora Wright 37ba2c15de Reinstate framebuffer setup on initScreens to allow old Luma to be chainloaded if FB address changes in b9s/new Luma, remove useless clearScreens for the alternate FBs after the first init 2017-07-09 19:06:42 +02:00
Aurora Wright 557f2057f7 Fix spacing 2017-07-06 18:09:18 +02:00
Aurora Wright 6b5cc93780 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-07-06 17:29:43 +02:00
Aurora Wright 9760191af8 Fix conflict between emunand selection and payload booting when "Autoboot EmuNAND" is checked, you now need to press L + DPad to boot payloads if that option is checked 2017-07-06 17:29:38 +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 d4d0fbd73b Re-add dir_build variable 2017-07-02 00:46:57 +02:00
Aurora Wright ddb8e98e95 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-07-02 00:44:29 +02:00
Aurora Wright fd69b4169f Use GNU/BSD agnostic syntax instead of detecting the OS (thanks @smartperson) 2017-07-02 00:44:14 +02:00
Aurora Wright da0ee2e442 Fix external 3.x and 4.x FIRMs, fix 1.x and 2.x booting on dev units 2017-06-28 20:28:14 +02:00
Aurora Wright b88dc9ac6a Only check in .text 2017-06-28 18:14:05 +02:00
Aurora Wright 9f78d7f62b Add region-free manuals patch 2017-06-28 17:37:12 +02:00
Aurora Wright e67c6ed3ee Change pattern 2017-06-26 23:42:41 +02:00
Aurora Wright 2e111ca91b Revert "Revert "Merge pull request #662 from MerryMage/dsp-sig""
This reverts commit 62d51fd99d.
2017-06-26 23:39:28 +02:00
Aurora Wright 62d51fd99d Revert "Merge pull request #662 from MerryMage/dsp-sig"
This reverts commit a9289b1f21, reversing
changes made to d42e938232.
2017-06-26 22:06:10 +02:00
Aurora Wright d42e938232 Restore 7.1 max module size for NATIVE_FIRM 2017-06-26 19:03:57 +02:00
Aurora Wright 82143212ce Remove the need for Homebrew and GNU tools on macOS 2017-06-26 18:32:33 +02:00
Aurora Wright 1291f2520a Fix derp 2017-06-26 17:11:00 +02:00
Aurora Wright 6e54dcc24c Add macOS building support (you need to install coreutils and gnu-sed with homebrew) 2017-06-26 16:29:04 +02:00
Aurora Wright 0377cbd2b4 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-06-22 15:49:31 +02:00
Aurora Wright 786ecf4fe4 Remove some configbit math 2017-06-22 15:49:23 +02:00
Aurora Wright 9b8e2b933d Add missing checks in getFreeK9Space 2017-06-20 19:56:34 +02:00
Aurora Wright 3f93bc5988 Support 3.x+ EmuNANDs and 3.x SysNANDs (partially), external FIRMs coming soonŧ 2017-06-19 18:13:59 +02:00
Aurora Wright 52a18831a7 Minor style changes (2) 2017-06-10 03:06:16 +02:00
Aurora Wright 0d7cca7b20 Minor style changes 2017-06-10 02:55:55 +02:00
Aurora Wright bea73c51ae Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-06-10 02:39:08 +02:00
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
Aurora Wright 4d47d891d1 Fix max module size check, static-ify more strings 2017-06-09 17:29:26 +02:00
Aurora Wright 4bc95979de Revert #949d219c726e41cca84c873e7e200be14af13f63 (breaks building on *nix) 2017-06-09 13:44:04 +02:00
Aurora Wright 43f3c84316 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-06-07 19:16:13 +02:00
Aurora Wright 44cafe3f46 Fix mismerges 2017-06-07 19:15:51 +02:00
Aurora Wright a798f453d2 Update gitignore 2017-06-06 02:17:58 +02:00
Aurora Wright 6ec21611c0 Merge branch 'master' of https://github.com/AuroraWright/Luma3DS 2017-06-06 02:13:02 +02:00
Aurora Wright 31f4419eec Refactor screen functions, completely fix config not saving bug 2017-06-06 02:12:18 +02:00
Aurora WrightandTuxSH 60d136f9b5 Fix #491 2017-06-06 01:22:17 +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
Aurora WrightandTuxSH ba3740a77a Return if the FIRM payloads filesize is different than expected 2017-06-02 19:35:14 +02:00
Aurora WrightandTuxSH 47369c8f5e Should use the function here too 2017-06-02 19:35:13 +02:00
Aurora WrightandTuxSH 7a05dee453 Rework whitelist check patch 2017-06-02 19:35:12 +02:00
Aurora WrightandTuxSH 9e47369365 Add DS cart whitelist patch for home menu (both versions of the func should be supported) 2017-06-02 19:35:10 +02:00
Aurora WrightandTuxSH 5379c05001 Update gitignore, Minor style changes 2017-06-02 19:35:09 +02:00
Aurora WrightandTuxSH 8e22080e05 Backport FIRM whitelist from b9s 2017-06-02 19:35:05 +02:00
Aurora WrightandTuxSH 01c760ab88 Not needed/usable 2017-06-02 19:35:03 +02:00
Aurora WrightandTuxSH 28e5d8107f Remove hardcoded CTRNAND FAT offsets, calculate them from parsing NCSD + CTR MBR 2017-06-02 19:35:02 +02:00
Aurora WrightandTuxSH 710d8cd15c Fix DTCM 2017-06-02 19:35:00 +02:00
Aurora WrightandTuxSH 10f555b6fb Fix payload size check 2017-06-02 19:34:57 +02:00
Aurora WrightandTuxSH 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
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 Wright 6eadac23b3 Not needed 2017-05-21 19:38:58 +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
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
Aurora Wright 336ab6a64c Minor reboot patch changes 2017-05-20 03:49:03 +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
Aurora Wright 64ebec3ea4 Fix chainloading bugs/refactoring 2017-05-20 00:45:05 +02:00
Aurora Wright c7bb1f9655 Unbreak loader 2017-05-17 16:15:32 +02:00
Aurora Wright 7847646b3e Not needed 2017-05-17 16:06:40 +02:00
Aurora Wright ec6e9f73bb Minor wording fix 2017-05-17 15:16:01 +02:00
Aurora Wright bd62f033ab Drop pre-A9LH support 2017-05-17 14:53:29 +02:00