mirror of https://github.com/mgba-emu/mgba.git
DS Memory: Add LDM for BIOS
This commit is contained in:
parent
9b29344a87
commit
47070562b8
|
@ -1245,6 +1245,11 @@ uint32_t DS9LoadMultiple(struct ARMCore* cpu, uint32_t address, int mask, enum L
|
|||
address &= 0xFFFFFFFC;
|
||||
|
||||
switch (address >> DS_BASE_OFFSET) {
|
||||
case DS9_REGION_BIOS:
|
||||
// TODO: Fix undersized BIOS
|
||||
// TODO: Fix masking
|
||||
LDM_LOOP(LOAD_32(value, address & (DS9_SIZE_BIOS - 1), memory->bios9));
|
||||
break;
|
||||
case DS9_REGION_ITCM:
|
||||
case DS9_REGION_ITCM_MIRROR:
|
||||
LDM_LOOP(if (address < memory->itcmSize) {
|
||||
|
|
Loading…
Reference in New Issue