aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.cpp
Commit message (Collapse)AuthorAge
* NDSCart: correctly restrict reading the DSi region on DSi cartsArisotura2021-07-22
|
* Add ROM Header struct and ROM info dialog (#1095)WaluigiWare642021-07-02
|
* add missing default return value. fixes #1105Arisotura2021-06-20
|
* Propagate common ImportSRAM return value from NAND cartridge function (#1104)Raphaël Zumer2021-05-16
|
* NDSCart: enforce WR bit.Arisotura2021-05-03
| | | | Bad Apple demo will break, because its NitroFS driver is broken. it needs a DLDI argv structure to exist in order to use its DLDI driver instead.
* er, oopsArisotura2021-05-01
|
* er, all cart types might want to have teh B8 commandArisotura2021-04-30
|
* cart: ensure each set of commands can only be run in the correct command mode.Arisotura2021-04-30
| | | | fixes #1083 (there was a chance an encrypted KEY1 command could be interpreted as something else and fuck things up)
* fill most gaps in ROM listArisotura2021-04-30
|
* support savemem for Face Training (NAND, atleast 32MB, likely 64MB)Arisotura2021-04-30
|
* Cart refactor (#1073)Arisotura2021-04-25
| | | complete cart-interface refactor, will make this code a lot easier to deal with
* Update copyright year and add missing GPL headers part 2WaluigiWare642021-03-21
| | | | | Looks like a lot of files were missed... Closes #1036
* SRAM things (#970)SuuperW2021-02-23
| | | | | | | * Allow SRAMManager to save to/load from a buffer. * Don't delete what doesn't exist. Don't create a thread that will do absolutely nothing. * Update SRAMManager's SecondaryBuffer when loading a savestate.
* Polish up archive support (#930)Madhav Kanbur2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix directory path when extracting from archive * Don't create new dir in execution dir of melonds * Create it beside the archive instead Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * ArchiveUtil : Use QT functions for I/O * Make it more platform independent, cleaner * Fixes permission related crash on linux Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * NDSCart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract nds roms to memory * Some stuff is still broken in the frontend Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GBACart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract gba roms to memory Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Integrate archive support with recent files Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * onClickRecentFile : Pause emu thread conditionally * Don't pause at start of the function * If user opens an archive and hits cancel, it won't pause Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Handle Resets when loading from archives * Ask user to pick the rom(s) again (i.e. GBA & NDS) when there are multiple files in the archive(s) * Directly load if only 1 file Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Archive support for drag-n-drop * Also recent files support for drag-n-drop Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main : Allocate rombuffer objects on stack * Less messy, decreases chances of memory leaks * Underlying implementation of qbytearray uses heap (hopefully?) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GetSavestateName : Archive support * Construct ssname from srampath (since rompath has archive name) NOTE: In general, archive name != rom file name !!!!!!!!!! Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Add srl and dsi as "direct-load" formats * Direct-load = anything not in an archive Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Don't use static functions Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT stuff from Util_ROM * Also, during reset, directly load file from archive (no rom picker) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT includes from FrontendUtil.h Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/LoadROM() : Use SetupDSiNAND() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/Reset() : Use strrchr() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM : Put Archive stuff behind ifdefs Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main: Set parent widget for archive dialog boxes Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Revert "Util_ROM/Reset() : Use strrchr()" This reverts commit c8af6f066f6aa15e5557e478417edb125cad0809.
* Improved SRAM performance (#925)Kimmy Andersson2021-01-09
| | | | | | | | | * Offload NDS SRAM writing to separate thread, debounce writes to two seconds after last flush or DeInit. * Fixed printf messages. * Fixes after CR. * Fixed potential portability issue with time_t
* don't calculate the CRC checksum of ROMs on loadRSDuck2020-12-30
| | | | the value isn't used anywhere anyway
* delay savefile flush to the end of the frameRSDuck2020-11-11
|
* flush to file after importing SRAMRSDuck2020-10-06
|
* add functionality to import savefilesRSDuck2020-09-11
|
* actually add DLDI. bahahahhhArisotura2020-09-03
|
* remove requirement for initmem7/9.bin (but this requires augmented BIOS ↵Arisotura2020-06-02
| | | | dumps, we'll get there)
* make it able to switch between DS and DSi modesArisotura2020-06-01
|
* Merge remote-tracking branch 'remotes/origin/master' into melonDSiArisotura2020-05-30
|\
| * embed romlist.binArisotura2020-05-30
| |
| * make it able to map the Tab keyArisotura2020-05-20
| |
| * minor fixArisotura2020-05-17
| |
* | fix shito.Arisotura2020-05-30
| |
* | Merge commit '4b57416552ec2fa95216e2b044559f215723bf70' into melonDSiArisotura2020-05-30
|\|
| * should probably be a strncmp() and not strncasecmp()Arisotura2020-03-30
| |
| * properly handle ROMs with encrypted secure areaArisotura2020-03-30
| |
| * Merge pull request #546 from nadiaholmquist/feature/unix-xdgArisotura2020-01-28
| |\ | | | | | | Make melonDS properly installable systemwide on UNIX systems
| | * Add a UNIX_PORTABLE build option, turning it off makes a build of melonDS ↵Nadia Holmquist Pedersen2019-12-04
| | | | | | | | | | | | suitable for systemwide installation.
| * | Fix "é" character encoding in NDS.cppRaphaël Zumer2019-12-09
| | |
| * | Remove unused Write function in NDSCartRaphaël Zumer2019-12-09
| |/
* | * some fixes to SD controller support, make it clear that there is no SD ↵Arisotura2019-10-19
| | | | | | | | | | | | | | | | | | inserted, makes Flipnote work somewhat better * immediately clear AES busy flag when the block count is zero (occurs when loading DSi cart games) * implement NDMA start modes that have an old-DMA equivalent (except for GXFIFO mode) now it boots DSi carts!
* | * base for potentially re-encrypting modcrypt, doesn't seem to be required? ↵Arisotura2019-08-07
| | | | | | | | | | | | but can also serve to decrypt it * revise SD IRQ behavior (fixing potential hang when loading DS games)
* | support DSi-mode cartsArisotura2019-08-04
| | | | | | | | except they need to have the DSi-mode shit encrypted
* | * add SCFG_EXTArisotura2019-07-03
|/ | | | * quick hack to detect cartridges
* * move melon_fopen_local() to Platform.cppArisotura2019-03-27
| | | | | * make it require that the file already exist (hopefully fixing config saving bug) * finally axe melon_fopen.cpp
* move melon_fopen() to Platform.cppArisotura2019-03-27
| | | | melon_fopen_local() will need fixoring
* woopsArisotura2019-03-26
|
* NDSCart: KEY1-gap delays don't apply when the WR bit is set. fixes #377Arisotura2019-03-26
|
* also, update copyright nameArisotura2019-01-22
|
* redesign main emu loop to use timestamps instead of being a trainwreckStapleButter2019-01-05
| | | | | | | | * cleaner code * faster in some cases * more accurate (on-demand compensation for timers and GPU) * less prone to desyncs * overall betterer
* make nocashprint work from ARM code too.StapleButter2018-12-31
| | | | fixes #315
* oopsStapleButter2018-12-31
|
* add support for 128K EEPROM (Pokémon Mystery Dungeon - Explorers of Sky)StapleButter2018-12-31
| | | | | | fixes #344 also, fix save type for Puzzler World (plain old 8K EEPROM. not sure why the Wood entry was different)
* ROM list by game code rather than CRCStapleButter2018-12-31
|
* init savemem to 0xFF instead of 0x00.StapleButter2018-12-30
|
* start work on NAND shito.StapleButter2018-12-12
|