Commit Graph

77 Commits

Author SHA1 Message Date
Gericom
19609120a1 Merge remote-tracking branch 'origin/develop' into feature/cheats 2026-03-29 16:49:55 +02:00
Mow
4e67225bc3 Use OSi_IrqVBlank for cheat patching (#156) 2026-03-29 09:43:14 +00:00
Gericom
d0f25a51d9 Preprocess cheats to get rid of hacks that try to modify the cheat engine, add support for C2 cheat opcode 2026-03-14 12:27:35 +01:00
Mow
ff0bc4bde9 Add (most) remaining SDK 2-4 DMA patches (#139) 2026-03-08 14:54:00 +00:00
Gericom
8c8f36f5c6 Preserve cheats when OS_ResetSystem is used, move temporary save buffer to main memory 2026-03-07 13:49:51 +01:00
Gericom
1038a3d9cf Fix bug in handling of E cheat opcode, add cheat support for all remaining games 2026-03-01 13:18:36 +01:00
Gericom
9a90866623 Fix E and F cheat opcodes skipping last byte 2026-03-01 10:37:14 +01:00
Gericom
5f5fccf2a1 Fix C5 cheat opcode and implement D4 2026-02-22 10:39:23 +01:00
Gericom
83046e2cc2 Further work on implementing support for cheats 2026-02-21 19:30:03 +01:00
Gericom
3300c5277c Initial work on cheat engine 2026-02-21 14:16:04 +01:00
Edoardo Lolletti
7c919cf1c1 Add support for the SuperChis (#138) 2026-02-15 20:26:24 +01:00
Mow
5d2e489107 Handle Chou Soujuu Mecha MG signature (#130)
Fixes "Chou Soujuu Mecha MG"
2026-02-01 11:43:37 +00:00
Mow
a648d4c4a9 Add helper class for ARM/Thumb assembly functions (#127)
Replaces static helper functions in
    Sdk5DsiSdCardRedirectPatch.cpp
    LastWindowCrcPatch.h
    CardiTryReadCardDmaPatch.cpp
2026-02-01 10:51:57 +00:00
Gericom
28bfb3b423 Attempt to fix rom hacks that decompress the arm9, but don't set compressedEnd to zero
Fixes soulsilver deluxe
2026-02-01 11:49:06 +01:00
Gericom
df614fb89f Improved handling of module params and locating of unused libsyscall space to support rom hacks that repack roms in unusual ways. Fixes #129 2026-02-01 11:04:59 +01:00
Mow
f5a8498e08 Add system for adjusting addresses for autoload (#118) Fixes #41 2026-01-31 19:54:37 +00:00
Gericom
d07516a50d Keep a valid stack pointer when booting the arm9 2026-01-31 20:46:04 +01:00
Mow
9eb2ec8fa2 Ignore ROM reads into null pointer destinations (#122) Fixes #121
DMA ROM reads ignore null pointer destinations, but if they are coerced to CPU reads they will data abort. With this commit, if the destination address is under 0x01000000 it will be considered invalid.
2026-01-29 11:20:19 +01:00
Mow
edf18f25e2 Add missing CARDi_ReadRomIdCore signature for Top Spin 2 (USA) (#115)
Fixes Top Spin 2 (USA) on DSTT and slot 2 cards.
2026-01-17 09:27:40 +00:00
Mow
fee3207b33 Patch checksum AP in Last Window: The Secret of Cape West (#104) 2026-01-13 21:47:35 +01:00
Gericom
653e620c29 Reduced size of OSResetSystemPatchCode (patch_osresetsystem section). Fixes #100.
Fixes Dragon Quest Heroes - Rocket Slime (USA), Imagine - Fashion Designer (Europe) and Mugen Kouro (Japan)
2026-01-13 20:04:19 +01:00
Edoardo Lolletti
61ab97091a Perform more optimization in supercard platform (#107) 2026-01-12 21:23:02 +01:00
Edoardo Lolletti
08cf835b05 Reduce patch sections space of DATEL platform (#108) 2026-01-12 21:22:41 +01:00
Gericom
9d21940b60 Fix after merge 2026-01-11 13:25:56 +01:00
Gericom
7e3e7b43fe Merge pull request #97 from LNH-team/feature/homebrew-return-to-loader
Homebrew return to loader
2026-01-11 13:24:04 +01:00
Gericom
24346eaf30 Added detection of DS mode DSiWare. Fixes #95. 2026-01-11 13:20:01 +01:00
Gericom
c62945af58 Lock scfg9 when switching to DS mode to avoid DSi mode being misdetected. Fixes #90. 2026-01-11 12:09:17 +01:00
Edoardo Lolletti
6a97b677a7 Add support for Slot 2 flashcarts using Compact Flash (#84)
- Supercard CF (SUPERCARDCF)
- GBA Media Player CF (MPCF)
- M3 Adapter CF (M3CF)
- Max Media Dock CF (MMCF)
2026-01-10 22:00:39 +00:00
Gericom
0ba88b55b7 Only setup homebrew bootstub when launcherPath is set 2026-01-10 16:35:00 +01:00
Gericom
56d20b37ac Merge remote-tracking branch 'origin/develop' into feature/homebrew-return-to-loader 2026-01-10 14:51:16 +01:00
Gericom
1d18f06b4c Added support for SDK variant with a lot of inlining. Fixes #53.
Fixes Tropix! ...Your Island Getaway and Think - Training für den Kopf - Kids - Spiel Dich Schlau!
2026-01-10 14:04:30 +01:00
Gericom
cd007d6505 Account for spurious CARDi_ReadCard match in Shaberu! DS Oryouri Navi (Japan) (rev 0 and 1) 2026-01-10 11:52:23 +01:00
Mow
9f2dff3967 Fix sCARDiTryReadCardDmaPatternSdk3017530 matching multiple card DMA variants (#93)
Fixes
- Unou no Tatsujin - Soukai! Machigai Museum 2 (Japan)
- Trioncube (Europe) (En,Fr,De,Es,It)
- Tetris DS (Korea)
- Original Frisbee Disc Sports - Ultimate & Golf (USA)
- LifeSigns - Surgical Unit (USA)
2026-01-10 10:05:14 +00:00
Mow
fd08fd19a1 Handle BLX branches in CardiTryReadCardDmaPatch (#91) 2026-01-09 15:39:23 +01:00
Gericom
5c8e98a03f Initial work on homebrew return to loader 2026-01-04 15:39:47 +01:00
Gericom
26cec4c421 A few more renames 2026-01-02 16:17:31 +01:00
Gericom
e0e33032b9 Updated some comments 2026-01-02 16:13:56 +01:00
Gericom
9be5424f23 Changed PatchCode::GetAddressAtTarget from public to protected 2026-01-02 15:36:33 +01:00
Gericom
3e4725c99c Renamed methods in IReadSectorsDmaPatchCode 2026-01-02 15:32:48 +01:00
Gericom
dcc71ca151 Fixed casing in some includes 2026-01-02 15:27:18 +01:00
Gericom
231f14a783 Refactored platform code to use interfaces for patch code with a special feature and improved patch code file names 2026-01-02 15:18:45 +01:00
Mow
d6080984d1 Add overlay patch for hombrew AP in Rabbids Go Homeh (#82) 2025-12-31 07:51:40 +01:00
Mow
6fb34c75f8 Add overlay patch to fix race condition in Kirby Super Star Ultra (#81) 2025-12-30 22:23:04 +01:00
Edoardo Lolletti
992e2d1053 DATEL: Make read sector function vram safe (#80)
* DATEL: Make read sector function vram safe

The platform code was performing reads in single byte units, breaking in case the destination buffer was in vram.
This caused issues with some games (e.g. Castelvania Order of Ecclesia), and also broke soft resetting.

* Halve wait timeout on sector read since we read 2 bytes at the time
2025-12-30 20:10:02 +01:00
Edoardo Lolletti
c380041241 DATEL: Put back the full spi cycle routine when sending commands (#76)
Perform again the full cycle spi routine that was removed as optimization since some SDs appeared that require that to work properly
2025-12-29 09:46:00 +00:00
lifehackerhansol
06c1f22cd1 platform: add support for the Stargate 3DS (#71) 2025-12-28 20:22:56 +00:00
Edoardo Lolletti
26f27a4138 Add support for DATEL devices (GAMES n' MUSIC and Action Replay DS(i) Media Edition) (#64) 2025-12-28 19:25:22 +00:00
Edoardo Lolletti
7134c4b330 Optimize space usage of supercard platform (#74) 2025-12-28 16:38:28 +00:00
Gericom
9f6311014d Added support for nand saving in Face Training and Nintendo DS Guide (fixes #6), calculate nand save size from header, fixed Band Brothers save initialization 2025-12-28 17:34:06 +01:00
Gericom
6d12399ba4 Added support for NAND saving in WarioWare D.I.Y. and Jam with the Band (#6)
Also improved speed of creating save files
2025-12-28 13:19:23 +01:00