d0k3 / GodMode9

GodMode9 Explorer - A full access file browser for the Nintendo 3DS console :godmode:
GNU General Public License v3.0
2.16k stars 194 forks source link

Only reserve space in trimmed NDS files for RSA key if it exists #804

Closed Epicpkmn11 closed 1 year ago

Epicpkmn11 commented 1 year ago

Fixes #800

As described in the issue this simply adds a check for if the first thing immediately after the reported ROM size of the NDS file is 'ac' then it will add 0x88 bytes to the trimmed size.

Tested with Mario Kart DS and LEGO Indiana Jones from cart and trimming existing dumps.