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
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
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
RocketRobz
c0a0c82fc0
Increase DSi/3DS RAM drive size by 3MB
2022-01-02 18:47:11 -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
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
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
78e9bd9996
A couple derp fixes
...
- Allocate enough space for byte sizes
- Pass size to 'bytes' count
- Check lang ini not font path for lang reload
- Use 24 hour with 0 instead of space for filename date
2021-11-23 01:44:49 -06:00
Pk11
e75b54db02
Fix using float printf on integer GB
2021-11-22 22:01:14 -06:00
Pk11
11b5c4e523
Make GM9i translatable
2021-11-22 21:02:13 -06:00
Pk11
e44678598c
Enumify drive number
2021-11-22 16:16:48 -06:00
RocketRobz
b9fcd7fa54
Properly allocate memory for RAM drive 1
2021-10-09 19:58:14 -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
2abfaaf22b
Update TWL flashcard mount code
2020-09-04 00:44:50 -06:00
RocketRobz
38f80194d4
SD card is sucessfully read in DS mode!
2020-07-14 18:03:29 -06:00
RocketRobz
1223111a98
Remove DSi mode check when mounting SD
2020-07-14 17:52:22 -06:00
RocketRobz
dd94cd5e77
Ntr sd access ( #61 )
...
* Port SD code from nds-bootstrap
Currently freezes on `mounting drive(s)...`
* Disable NAND mounting for now
* Derp fix, and add verbose output
* NAND and SD access now work
2020-07-14 17:26:05 -06: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
bf53a3c037
Implement NAND browsing
...
Code from twlnf.
The NAND write code is stripped for safety reasons.
2020-02-11 18:42:04 -07:00
RocketRobz
2bd4e57081
Add direct access for AK2i with Deep Labyrinth banner
2020-02-10 01:25:35 -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
ef4b474fd6
Add unused DS mode ROM dumping code
2020-02-05 14:34:45 -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
430db6b25b
Add direct access support for Acekard 2i with the banner of Hello Kitty no Panda Sports Stadium
2019-06-13 19:55:52 -06:00
RocketRobz
e93e2e1794
Don't show drive size for now
2018-10-21 20:25:21 -06: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
d78437e749
Fix flashcardMount() code
2018-10-16 15:51:30 -06:00
RocketRobz
1c99a3a613
Make sure cart is inserted correctly before mounting flashcard
2018-10-16 15:43:46 -06:00
RocketRobz
7721df24c4
Fix some carts making the app shut down the console
2018-10-16 15:26:43 -06:00
RocketRobz
52c3ec491f
Comment out non-working code
2018-10-11 19:53:31 -06:00
RocketRobz
e2b1743064
Only run fatInitDefault if arm7 SCFG is locked
2018-10-11 19:24:47 -06:00
RocketRobz
0d7cbe8868
Fix for DSi-mode flashcards (CycloDS iEvo)
2018-10-11 18:07:49 -06:00
RocketRobz
5a3830fc79
Clear unused DLDI space
2018-10-11 14:05:17 -06:00
RocketRobz
fd48c138d6
Try "tt_sd" from Wood for TT
2018-10-11 13:08:30 -06:00
RocketRobz
cd539aa59d
Comment out non-working code
2018-10-10 17:58:14 -06:00
RocketRobz
1a870ca810
Revert back to io_dldi_data from loadedDldi
2018-10-10 17:09:29 -06:00
RocketRobz
67c827fca2
Optimize dldiLoadFromBin
...
Fixes Guru Meditation Error
2018-10-10 16:52:47 -06:00
RocketRobz
54cd443e40
Add CycloEvo and DSTWO DLDI drivers
2018-10-10 16:11:00 -06:00
RocketRobz
e9181a4390
Run DLDI startup code before mounting
2018-10-10 15:53:37 -06:00
RocketRobz
14fd24703c
Guru error fix did not work
2018-10-10 15:17:38 -06:00
RocketRobz
e673255603
Merge branch 'master' of https://github.com/ahezard/GodMode9i into pr/6
2018-10-10 14:39:54 -06:00