Commit Graph

94 Commits

Author SHA1 Message Date
CasualPokePlayer 98a7b02d34 Fix mono AAC decoding 2025-08-16 01:48:49 -07:00
CasualPokePlayer 460c65cbe4 Fix melonDS resampling 2025-08-15 23:50:05 -07:00
CasualPokePlayer e70d92c1c4 Implement AAC decoder for melonDS 2025-08-15 23:12:18 -07:00
CasualPokePlayer 7b47f76c91 Actually pass userdata to cartridges 2025-08-15 17:28:54 -07:00
CasualPokePlayer e79d7c3b48 fix permissions of newly added files 2025-08-15 16:54:21 -07:00
CasualPokePlayer 426a32309c Update melonDS (after DSP HLE merge)
A bit more work is needed (for the AAC decoder)
2025-08-15 16:51:36 -07:00
CasualPokePlayer 35c3f76d89 Shrink the decompressed ELF size of melonDS down by 128MiBs
This more just reduces memory usage when decompressing the .zst if anything.
2025-08-11 23:45:05 -07:00
CasualPokePlayer 5aeb1ada48 Add JIT support for melonDS 2025-08-11 12:48:56 -07:00
CasualPokePlayer 0b1b5c2ecd Remove debug print 2025-08-10 05:16:23 -07:00
CasualPokePlayer ff7015ecad Add better handling for cert.sys 2025-08-10 05:06:24 -07:00
CasualPokePlayer 1e08789fe6 Add support for full DSi BIOS booting, DLDI, and DSi SD card 2025-08-10 04:56:33 -07:00
CasualPokePlayer 3b5ee836a2 For Clear NAND, shrink System Menu tmd if it is larger than normal
This might be larger than normal for Unlaunch exploited NANDs, shrinking the TMD undos unlaunch's install and restores the NAND back to a clean state
2025-08-09 12:50:57 -07:00
CasualPokePlayer a707d3c6dc Fix save type for Legacy of Ys - Books I & II 2025-08-03 15:15:08 -07:00
CasualPokePlayer 954a27e930 Reduce the amount of system apps transferred over with "Clear NAND"
The current code breaks down currently for some NANDs (in particular Chinese and Korean NANDs) due to making some faulty assumptions. Instead of adding more code to handle these edge cases, I'm just opting to reduce the "Clear NAND" transfer to only the minimum core apps (System Menu, System Settings, and the various non-executable data files). With 51d92d328e (and later commits) if the user really wants to use these "fun" system apps for a movie (where Clear NAND is forced) they can do so by directly loading them as ROMs.
2025-08-02 00:26:08 -07:00
CasualPokePlayer e8322dc5d6 melonDS unmanaged side changes for previous commit 2025-07-28 21:35:22 -07:00
CasualPokePlayer 6960e99846 Fix TMD content size read 2025-07-17 15:10:39 -07:00
CasualPokePlayer ea34856fb0 Harden NAND clearing again, ensure file sizes are as expected 2025-07-17 14:55:49 -07:00
CasualPokePlayer 4d9a9fe44f Better handle cert.sys when clearing NAND 2025-07-17 12:39:24 -07:00
CasualPokePlayer 323fbe0ba3 Add blank private.sav files for system files 2025-07-16 19:34:21 -07:00
CasualPokePlayer 22fa04c80b Fix Jan 1, 2000 timestamp 2025-07-16 17:18:39 -07:00
CasualPokePlayer 84e9d131fe Fix pit.bin file path; make sure fat time is always DS epoch (Jan 1, 2000) instead of time(0) 2025-07-16 16:19:29 -07:00
CasualPokePlayer f15c494f13 Harden NAND clearing
This takes a more sledgehammer approach, as it seems even tiny minor difference in the NAND structure can cause sync issues. This is even the case if the entire directory tree and every file is identical (I guess order of files internally matters here or whatever). The entire partition will be recreated here with files manually readded as to minimize NAND differences (assuming system files are the same version anyways)
2025-07-16 15:45:49 -07:00
CasualPokePlayer a05c16d89b Workaround compiler crash 2025-07-16 15:45:49 -07:00
Morilli a2cf4e0797 clarify semantics and implementation of ISaveRam.SaveRamModified 2025-06-04 18:51:04 +02:00
CasualPokePlayer 0ec54fe9d6 Make touch input interpolation configurable 2024-12-29 22:08:54 -08:00
CasualPokePlayer 7714004da5 revert to older mic blow samples 2024-11-10 22:55:47 -08:00
CasualPokePlayer 76aae7afd7 fix buggy audio when closing lid 2024-11-01 15:22:57 -07:00
CasualPokePlayer 8f642d6b8f expose DSi NWRAM 2024-10-26 17:32:58 -07:00
CasualPokePlayer 84130285aa fix host mouse to touch input weirdness with melonDS savestates 2024-10-19 00:51:14 -07:00
CasualPokePlayer 1f261b2c33 Fix crashes with GPU compute renderer w/ wbx states 2024-10-17 21:44:14 -07:00
CasualPokePlayer c471a72e64 Fix save type for Puzzler World USA 2024-09-18 01:59:12 -07:00
CasualPokePlayer f309dbc316 bounds check reading spu output 2024-06-16 23:32:14 -07:00
CasualPokePlayer 0a3ab1a055 Fix read/write callbacks possibly being called recursively
Also fix possible unsafe sys bus reads
2024-06-07 14:35:45 -07:00
CasualPokePlayer 448e9fb9ec fix melonDS fw generation code 2024-06-07 13:48:19 -07:00
CasualPokePlayer 43a621a695 Handle nand/firmware a bit bitter; add sound interpolation options; add hybrid screen option 2024-06-06 13:50:29 -07:00
CasualPokePlayer c21172ae03 Fix DownscaleFramebuffer not being generated (happened to work fine in melonDS upstream, but not BizHawk) 2024-06-06 00:39:31 -07:00
CasualPokePlayer ea4e96b08c fix perms on these files 2024-06-05 23:37:53 -07:00
CasualPokePlayer b7265e2f39 Update melonDS 2024-06-05 23:37:53 -07:00
CasualPokePlayer 7164763e2f Build melonDS with fwrapv, fixes weird rendering issues 2024-06-02 12:59:18 -07:00
CasualPokePlayer 43a38a05ca Workaround driver bugs(?) with D3D11 GL interop 2024-06-01 18:30:17 -07:00
CasualPokePlayer 0c6df6e79b Don't clamp touch/screen coord transformations 2024-05-27 13:33:46 -07:00
CasualPokePlayer 7d2ff866d8 add support for direct booting dsi titles (including dsiware) 2024-01-16 11:04:38 -08:00
CasualPokePlayer 55b3319ee0 minor melonds fixes 2024-01-10 08:13:20 -08:00
CasualPokePlayer c2e8bda5e2 fix loading gba saves re-allocating buffer (thus invalidating its memory domain) 2023-12-07 22:52:48 -08:00
CasualPokePlayer 7b4bd8cdc3 make GBA roms work under freebios 2023-12-06 23:19:53 -08:00
CasualPokePlayer 1f58596d3c misc fixes/cleanups in ds firmware handling 2023-11-05 17:00:20 -08:00
CasualPokePlayer 6184182f34 better handle DSi country code and fix extended languages 2023-11-04 05:25:33 -07:00
CasualPokePlayer e98e31e5c7 deduplicate nds/dsi bios loading code 2023-11-03 07:34:07 -07:00
CasualPokePlayer 169137c204 throw an error if the loaded nand region isn't supported by the loaded dsiware title
this normally wouldn't be needed but people seem to think it's a good idea to shove the same nand file in every region slot in the firmware config
2023-11-03 05:43:10 -07:00
CasualPokePlayer 53c8deae29 add in touch screen input smoothing, fixes #3397 2023-11-02 13:53:27 -07:00