mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
fix: remove incorrect size validation from desmume firmware.bin
This commit is contained in:
@@ -1,23 +1,19 @@
|
||||
emulator: DeSmuME
|
||||
type: libretro
|
||||
core_classification: community_fork
|
||||
source: "https://github.com/libretro/desmume"
|
||||
profiled_date: "2026-03-18"
|
||||
upstream: "https://github.com/TASEmulators/desmume"
|
||||
profiled_date: "2026-03-23"
|
||||
core_version: "SVN"
|
||||
display_name: "Nintendo - DS (DeSmuME)"
|
||||
cores: [desmume]
|
||||
systems: [nintendo-ds]
|
||||
|
||||
notes: |
|
||||
DeSmuME provides full HLE (High-Level Emulation) of all ARM7/ARM9 SWI
|
||||
routines, making BIOS files optional for most games. When external BIOS
|
||||
is disabled, a minimal fake BIOS with exception vectors and IRQ handler
|
||||
stubs is generated at runtime (NDSSystem.cpp:2208-2224, 2263-2278).
|
||||
External BIOS enables SWI-from-BIOS mode and firmware boot animation.
|
||||
Firmware boot requires both ARM7+ARM9 BIOS loaded AND interpreter mode
|
||||
(JIT incompatible, see libretro.cpp:788).
|
||||
ARM9 BIOS read size: 4096 bytes (0x1000). ARM7 BIOS read size: 16384
|
||||
bytes (0x4000). No DSi support.
|
||||
Libretro core option: desmume_use_external_bios (enabled/disabled).
|
||||
Full HLE of ARM7/ARM9 SWI routines; BIOS files optional for most games.
|
||||
External BIOS enables SWI-from-BIOS mode. Firmware boot requires both
|
||||
BIOS files loaded and interpreter mode (JIT incompatible).
|
||||
No DSi support. Core option: desmume_use_external_bios.
|
||||
|
||||
files:
|
||||
- name: "bios7.bin"
|
||||
@@ -26,8 +22,9 @@ files:
|
||||
required: false
|
||||
hle_fallback: true
|
||||
size: 16384
|
||||
validation: [size]
|
||||
source_ref: "desmume/src/NDSSystem.cpp:2178-2182, frontend/libretro/libretro.cpp:763"
|
||||
notes: "HLE fallback covers all SWI calls; native file needed for firmware boot and SWI-from-BIOS accuracy"
|
||||
notes: "Native file needed for firmware boot and SWI-from-BIOS accuracy"
|
||||
|
||||
- name: "bios9.bin"
|
||||
system: nintendo-ds
|
||||
@@ -35,13 +32,14 @@ files:
|
||||
required: false
|
||||
hle_fallback: true
|
||||
size: 4096
|
||||
validation: [size]
|
||||
source_ref: "desmume/src/NDSSystem.cpp:2236-2239, frontend/libretro/libretro.cpp:764"
|
||||
notes: "HLE fallback covers all SWI calls; native file needed for firmware boot and logo comparison (Pal Park)"
|
||||
notes: "Native file needed for firmware boot and logo comparison (Pal Park)"
|
||||
|
||||
- name: "firmware.bin"
|
||||
system: nintendo-ds
|
||||
description: "NDS firmware image"
|
||||
required: false
|
||||
hle_fallback: true
|
||||
source_ref: "desmume/src/NDSSystem.cpp:2653-2655, frontend/libretro/libretro.cpp:765"
|
||||
notes: "Dummy firmware generated when absent; native firmware needed for boot animation, wifi config, user settings"
|
||||
source_ref: "desmume/src/firmware.cpp:249-280, frontend/libretro/libretro.cpp:765"
|
||||
notes: "Loaded only if both BIOS files present; needed for boot animation, wifi config, user settings"
|
||||
|
||||
Reference in New Issue
Block a user