Commit Graph

365 Commits

Author SHA1 Message Date
Pk11
bef9eacf22
Ask before trimming ROMs (#156)
* Ask before trimming ROMs

* Fix unwanted key repeat
2022-01-17 02:35:14 -07:00
RocketRobz
4b16b7a011 Derp fix 2022-01-12 20:36:44 -07:00
RocketRobz
a368f0e4fc Fix non-animated DSi icons flickering 2022-01-12 20:26:33 -07:00
RocketRobz
e92c8ce445 Unmount non-MEP RAM drive if GBA game is inserted 2022-01-12 20:17:58 -07:00
Pk11
a088d64b80
Fix failing to read flashcard if RAM drive removed (#154) 2022-01-12 20:05:23 -07:00
Pk11
9be421880f
Check CRC16s of banner and only use correct parts (#153) 2022-01-12 09:06:11 -07:00
Pk11
5408406626
Allow mounting 0000 as FAT image (#152) 2022-01-11 07:16:14 -07:00
Pk11
94f5fd73c3
Dump banner.sav for DSiWare too (#151) 2022-01-09 17:16:10 -07:00
Pk11
6669a5ebb3
Add dumping TMD files from title manager (#150) 2022-01-09 16:54:37 -07:00
Pk11
cc2bfed17c
Add title manager menu for easier DSiWare dumping (#149)
* Add title manager menu for easier DSiWare dumping

* Fix title manager not scrolling

* Change dumped DSiWare extension to `.nds`

* Sort titles alphabetically by banner title
2022-01-08 23:55:35 -07:00
Pk11
750e3cbf99
Fix getFileSize failing (#145)
* Try to fix getFileSize failing

* Fix file sizes over 2 GB
2022-01-08 15:31:41 -07:00
Pk11
3e92e876e9
Try to mount NitroFS from SysNAND and SDNAND (#148) 2022-01-08 15:30:46 -07:00
Pk11
454cdbcc50
Revert to malloc for allocating ramdrive on DSi (#147) 2022-01-07 23:18:10 -07:00
Pk11
d8bf2447ec
Clear cart info on eject outside of drive menu and detect ramdrive eject (#146)
* Fix cart info if ejected not in drive menu

* Fix a couple ramdrive issues

- Unmount ramdrive if Slot-2 RAM is ejected
- Fix potentially reading from the wrong location if numSectors > 1 and crosses between locations
- free ramdLoc on regular DS too
- Use calloc to 0 initialize, I saw it mess up occasionally on DSi too

* Update time in the Vblank handler
2022-01-07 20:35:49 -07:00
Pk11
21c8ad9e54
Fix breaking NAND when unmounting NitroFS (#144) 2022-01-06 01:48:47 -07:00
Pk11
ccf8d0200b
Add restoring DS saves on DS/DS Lite (#141) 2022-01-05 03:55:35 -07:00
Pk11
4aa294b444
Remove trying to remount flashcards (#140)
as it doesn't work anyways
2022-01-04 21:27:09 -07:00
Pk11
836c30e182 Fix always blocking SPI saves over 1 MiB
Noticed this right after marking the PR ready for review lol
2022-01-04 22:07:17 -06:00
Pk11
bec149de03
Add dumping DS saves using GBA cart save data (#138)
* Simplify GBA EEPROM FIFO wait

* Add dumping DS saves using a GBA cart's save data

* Don't try dump very large DS saves to GBA carts

* Don't show DS cart info on regular DS

you need to take the cart out to reinit it so info isn't loaded

* Change to 'writing save' for DS to GBA dumps

* Fix a couple bugs and typos
2022-01-04 20:54:45 -07:00
Pk11
a9a29204ab
Improve unmounting and various other bug fixes (#137)
* Various improvements to drive unmounting drives

* Add mounting DSiWare saves

They're FAT12 images, but libfat doens't like them without a little tweak since they don't have the 'FAT' identifier text

* Don't try to send DSi SD card status on regular DS

Fixes X and Y buttons being unresponsive
2022-01-03 20:08:43 -07:00
Pk11
e8c3a8596b
Improve AK2i secondary drive mounting (?) (#136)
* Improve AK2i secondary drive mounting (?)

* Ensure correct bus owner when getting DLDI
2022-01-03 19:37:12 -07:00
Pk11
574e5b26a6
Hide writing actions when drive is read-only (#134) 2022-01-03 00:39:17 -07:00
RocketRobz
cbb223a421 Always show SD unmount/remount option if flashcard DLDI isn't found 2022-01-02 23:25:41 -07:00
RocketRobz
c7fefecdcc Do not read NDS cart info if Slot-1 flashcard is mounted
Fixes lockup when highlighting Slot-1 FAT
2022-01-02 23:16:20 -07:00
RocketRobz
248d0244f3 Fix unmount/remount flashcard option being shown in DSiWarehax 2022-01-02 22:46:22 -07:00
RocketRobz
8edf33099b Run 3DS detection code and show Reboot option in DS mode 2022-01-02 22:36:38 -07:00
RocketRobz
c0a0c82fc0 Increase DSi/3DS RAM drive size by 3MB 2022-01-02 18:47:11 -07:00
RocketRobz
d05294f4bf Revert "Asynchrously clear MEP" to fix misdetected X button presses
This reverts commit 46f32cea1e.
2022-01-02 18:41:40 -07:00
RocketRobz
46f32cea1e Asynchrously clear MEP 2022-01-02 18:31:37 -07:00
RocketRobz
99624643f2 Replace vramcpy with tonccpy 2022-01-02 18:24:25 -07:00
Pk11
862fee8e68 Fix crash on mounting SD if booted without SD card 2022-01-02 15:13:36 -06:00
Pk11
bfb136c866 Don't attempt to create folder if no drive mounted 2022-01-02 15:05:38 -06:00
Pk11
2b8808ae6d
Autodetect SD removal and more bug fixes (#133)
* Autodetect SD removal, see desc

Also:
- Mark read-only drives as `[R]`
- Detect and respect write protect on SD card
- Don't attempt to remount SD card if not inserted
- Fix repo link on startup screen

* There are enough characters for `https`

I didn't notice there was actually 1 more column usable

Co-authored-by: RocketRobz <bobesh8@gmail.com>
2022-01-02 12:38:55 -07:00
Pk11
b3bdcabec2
Improve keyboard input (#132) 2022-01-02 12:35:21 -07:00
Pk11
60736a5fcd Fix warning in fcopy 2022-01-02 03:35:03 -06:00
RocketRobz
9d5e205a78 Bug fix 2022-01-02 02:03:43 -07:00
RocketRobz
3e8dd2f5c2 Add support for Slot-2 flashcard RAM
ALSO: Allow RAM drive to be used on DSi/3DS in DS mode with unlocked SCFG
2022-01-02 01:55:18 -07:00
RocketRobz
f4d324d2ba Fix MEP RAM drive not showing
Moved first 8 sectors of MEP RAM drive to Main RAM
2022-01-02 01:12:40 -07:00
RocketRobz
48b54d5d68 Fix warnings 2022-01-02 00:52:51 -07:00
Pk11
0f8b4c248e
Simplify RAM drives (#131)
* Simplify RAM drives

* WIP: Add Slot-2 RAM expansion RAM drive support
2022-01-02 00:46:49 -07:00
Pk11
aa2cfcab81
Fix remounting SD card (#130)
* Fix remounting SD card

* Fix SD label whitespace trimming

It was cutting at the first space, not the last one
Also clean up the function calls, `&sdLabel[0]` is the same thing as `sdLabel`
2022-01-01 20:52:21 -07:00
Pk11
5d5d05cf7c Fix No drives found! text being the wrong color 2021-12-31 21:23:42 -06:00
Pk11
bd7f069848 Remove unused strings 2021-12-31 21:22:01 -06:00
Pk11
aeb13dba29
Improve dumping menu, add metadata dumping (#128)
* Improve dumping menu, add metadata dumping

* Use `NONE` as fallback DS save instead of `UNK`

Matches GM9 for my DSTT and バトル&ゲット:ポケモンタイピングDS

* Fix metadata check for NAND save
2021-12-31 20:04:50 -07:00
Pk11
dc0bb54f7d
Update translations, show warning when loading language menu without NitroFS (#125)
* Update translations

Adds German and Simplified Chinese and credits to the README

* Add warning when changing language without NitroFS

* Add separate plural and non-plural strings

* Add hu-HU, it-IT, update other translations

Also adds a few missing letters to the font

* Update translator credits
2021-12-25 01:28:23 -07:00
Pk11
94682d63e0
Fix unmounting drives not responding immediately (#127) 2021-12-18 20:02:34 -07:00
Pk11
48881bb810
Fix color changing after opening keyboard (#126) 2021-12-18 19:24:41 -07:00
redstonekasi
6f163060b0 show correct text when deleting files 2021-12-10 09:56:25 -08:00
Pk11
117fb3f98a Update translations
Adds Russian and French (only partially complete) and a Kana only Japanese translation cause the Kanji font is kinda hard to read, it still has the proper one so you can choose either
2021-11-30 16:31:18 -06:00
Pk11
bf7a850701 Fix power off, hide Reboot in DS mode 2021-11-30 01:37:26 -06:00