Skip to content

Commit

Permalink
Add offset increment NDS AR instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP authored and skylersaleh committed Jul 25, 2023
1 parent 88d48cd commit a1d5129
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nds.h
Original file line number Diff line number Diff line change
Expand Up @@ -7151,6 +7151,11 @@ static bool nds_run_ar_cheat(nds_t* nds, const uint32_t* buffer, uint32_t size){
stored_register = nds9_debug_read8(nds,address);
break;
}
case 0xDC:{
// increment offset register
offset_register += buffer[i+1];
break;
}
default:{
// Unknown instruction
printf("Unknown instruction: %08X %08X\n", buffer[i], buffer[i+1]);
Expand Down

0 comments on commit a1d5129

Please sign in to comment.