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
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
4aa294b444
Remove trying to remount flashcards ( #140 )
...
as it doesn't work anyways
2022-01-04 21:27:09 -07: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
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
Pk11
862fee8e68
Fix crash on mounting SD if booted without SD card
2022-01-02 15:13:36 -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
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
5d5d05cf7c
Fix No drives found! text being the wrong color
2021-12-31 21:23:42 -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
94682d63e0
Fix unmounting drives not responding immediately ( #127 )
2021-12-18 20:02:34 -07:00
Pk11
90814b2ff2
Add START menu with language selector
2021-11-29 15:57:31 -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
Pk11
283f85b985
Show nitro: above carts in drive list
2021-08-15 15:38:24 -05: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
f8cd65dd69
Derp fix
2020-11-25 20:39:42 -07:00
RocketRobz
9ee6cc3f77
Add SCREENSWAP compilation flag
2020-11-25 20:33:20 -07:00
Pk11
5437be1a2e
Add save file restoring ( #68 )
...
* Remove `using namespace std`
* Improve extension function and use more
* Add save restoring
and remove fstream to save ~300KB
2020-08-20 19:09:20 -06:00
RocketRobz
1223111a98
Remove DSi mode check when mounting SD
2020-07-14 17:52:22 -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
2011b83be9
DSi/3DS: Properly unmount SD card
2020-02-17 01:12:44 -07:00
RocketRobz
dee4ba94b6
Don't show NDS GAMECARD in DSiWarehax or CycloDSi
2020-02-16 23:31:03 -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
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
065674a19f
Fix DS game dumping being shown on Slot-1 flashcards
2020-02-05 00:13:13 -07:00
RocketRobz
fcf1dfa3c3
Display drive sizes
2020-02-04 21:40:19 -07:00
RocketRobz
aebb7f1e91
Only unmount SD card, if it was last opened
2020-02-04 20:31:00 -07:00
RocketRobz
6226892784
Make dumping option do nothing, if neither SD/Flashcard is mounted
2020-02-04 19:50:31 -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
3cbb99e0bc
Add proper green border
2020-02-04 16:29:25 -07:00
RocketRobz
336dbe0b20
Fix screenshot taking
2020-02-04 01:33:30 -07:00
Pk11
e60993ec3e
Fix flickering ( #44 )
2020-02-04 00:21:07 -07:00
RocketRobz
ed97c9ed43
Show DS ROM dumping, even when flashcard is mounted
2020-01-30 17:54:08 -07:00
RocketRobz
62259a72b3
Only show DS(i) ROM dumping option, if cart is inserted
2020-01-30 01:38:36 -07:00
RocketRobz
db8bf37a2a
Add DS(i) save dumping
2020-01-30 01:19:47 -07:00
RocketRobz
6cdf5046ac
Full DS(i) ROM with arm9i/7i bins now dumpable
2020-01-30 00:34:03 -07:00
RocketRobz
e153f57e10
Add DS(i) ROM dumping progress
...
ALSO: Add DSi blowfish
2020-01-29 21:41:36 -07:00
RocketRobz
e53ddc5ecc
Properly dump DS(i) ROM header
...
Code ported from GM9
2020-01-29 19:38:16 -07:00