Commit Graph

24 Commits

Author SHA1 Message Date
Pk11
816dbb98db
Add support for photo partition (#199) 2022-10-23 13:33:36 -06:00
Pk11
fb9b56f622
Warn if file too large to copy (#163) 2022-03-13 20:39:51 -06: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
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
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
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
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
e44678598c Enumify drive number 2021-11-22 16:16:48 -06:00
Pk11
2ca30a9bd2 WIP: Use bitmap mode and clean up some things 2021-08-08 07:31:00 -05:00
urmum-69
d68ac105e6
Show the free space on each drive in the root menu (#76)
* show the free space on each of the drives in the root menu

* round up to nearest 0.1GB, instead of nearest GB

* remove redundant checks for bytes
2020-12-14 12:51:38 -07:00
RocketRobz
999241b0a0 Add Nitro/IMG unmounting 2020-02-21 02:22:59 -07:00
RocketRobz
2a43eb2370 Add FAT image (.img) mounting 2020-02-21 02:14:37 -07:00
RocketRobz
c83bb72135 Add placeholder NAND read code
ALSO: Add NitroFS mounting for other DS ROM filetypes
2020-02-09 23:44:59 -07:00
RocketRobz
fcf1dfa3c3 Display drive sizes 2020-02-04 21:40:19 -07:00
RocketRobz
f8f288a9da Add 2 RAM drives
One shown for both DSi and 3DS (9MB), the other only shown for 3DS (16MB)
2020-02-04 18:25:30 -07:00
RocketRobz
d855c84773 Show size of SD and flashcards in [root] menu
Credit to @JeffRuLz for the printBytes code and size grabbing code from TMFH
2018-10-21 19:28:41 -06:00
RocketRobz
0d7cbe8868 Fix for DSi-mode flashcards (CycloDS iEvo) 2018-10-11 18:07:49 -06:00
RocketRobz
93f7433bff Show labels of both SD and flashcards 2018-10-09 08:22:17 -06:00
RocketRobz
f56c7a0688 Add NitroFS mount feature 2018-10-08 15:14:42 -06:00
RocketRobz
f6bc3a24ef Add copying/pasting to a specific folder 2018-10-07 12:02:29 -06:00
Robz8
23515b11d6 Unmount flashcard and return to [root] menu, if directory listing of flashcard is shown 2018-10-04 22:27:18 -06:00
Robz8
8e07f18eea Mount flashcard, if supported one is inserted 2018-10-04 21:40:28 -06:00
Robz8
9cfe9e1445 Add feature to unmount/remount the SD card 2018-10-04 20:45:16 -06:00
Robz8
10ca991150 Try to load DLDI driver from arm9 binary 2018-10-03 18:47:47 -06:00