mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
Fix detection of native NDS ARM BIOS images (#1910)
* Fix detection of native NDS ARM BIOS images - Instead of checking for built-in BIOS images, now the altered methods check for native ones - The CRC32 must match exactly; patched BIOS images will result in `false` * Encapsulate `NDS::ARM9BIOS` and `ARM7BIOS` - Also compute the checksum only when setting the BIOS
This commit is contained in:
@ -32,6 +32,8 @@ constexpr u32 ARM7BIOSSize = 0x4000;
|
||||
constexpr u32 DSiBIOSSize = 0x10000;
|
||||
constexpr u32 ITCMPhysicalSize = 0x8000;
|
||||
constexpr u32 DTCMPhysicalSize = 0x4000;
|
||||
constexpr u32 ARM7BIOSCRC32 = 0x1280f0d5;
|
||||
constexpr u32 ARM9BIOSCRC32 = 0x2ab23573;
|
||||
}
|
||||
|
||||
#endif // MELONDS_MEMCONSTANTS_H
|
Reference in New Issue
Block a user