Skip to content

Commit

Permalink
ARM: use BANK_FIQ instead of new_bank when new_bank is known to be BA…
Browse files Browse the repository at this point in the history
…NK_FIQ
  • Loading branch information
fleroviux committed Jan 21, 2025
1 parent 46cbdb3 commit e1990a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nba/src/arm/arm7tdmi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ struct ARM7TDMI {
}

for(int i = 0; i < 5; i++) {
state.reg[8 + i] = state.bank[new_bank][i];
state.reg[8 + i] = state.bank[BANK_FIQ][i];
}
}

Expand Down

0 comments on commit e1990a7

Please sign in to comment.