Commit Graph

101 Commits

Author SHA1 Message Date
ApacheThunder
27d6c3c6c1 Further optimizations...
* Screenshot feature removed to free up more ram.
* SCFG register changes on startup moved to dedicated function run from
ITCM memory. This should hopefully reduce instances where program hangs
at startup. Bootstarp is still provided incase some people still have
that problem.
2024-03-20 16:10:48 -05:00
ApacheThunder
a10debc12f 3.4.4 release commit...
* More unused/unusable features removed.
*  Top screen logo updated to have more flashcart logos. Thanks to
SylverReZ for most of the added logos.
2023-11-11 12:38:57 -06:00
Pk11
816dbb98db
Add support for photo partition (#199) 2022-10-23 13:33:36 -06:00
Pk11
1605dcf8f0
Change screen swap to an ini option (#183) 2022-08-02 20:04:55 -06:00
RocketRobz
e7257819f5 Prepare for NAND reading in DS mode with SCFG unlocked
TODO: Replace SWI SHA1 functions with custom implementation
2022-07-06 20:09:41 -06:00
Pk11
9ada5887e2
Update translations (#162)
* Update translations, add Dutch and Ukrainian

Adds Ґ, ґ, І, і, Ї, and ї to the font for Ukrainian

* Update Chinese translation

* Add RTL support, Hebrew translation

* Update translations
2022-04-08 12:39:29 -06:00
Pk11
fb9b56f622
Warn if file too large to copy (#163) 2022-03-13 20:39:51 -06: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
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