Updated vio2sf

CQTexperiment
Chris Moeller 2015-03-18 18:05:44 -07:00
parent 3d15a63e91
commit d9e03f3d2c
1 changed files with 4 additions and 1 deletions

View File

@ -780,6 +780,9 @@ u32 FASTCALL MMU_read32(NDS_state *state, u32 proc, u32 adr)
if(!state->MMU->dscard[proc].adress) return 0; if(!state->MMU->dscard[proc].adress) return 0;
if (state->array_rom_coverage)
bit_array_set(state->array_rom_coverage, state->MMU->dscard[proc].adress / 4);
val = T1ReadLong(state->MMU->CART_ROM, state->MMU->dscard[proc].adress); val = T1ReadLong(state->MMU->CART_ROM, state->MMU->dscard[proc].adress);
state->MMU->dscard[proc].adress += 4; /* increment adress */ state->MMU->dscard[proc].adress += 4; /* increment adress */