Skip to content

Commit

Permalink
Add 369in1 locking
Browse files Browse the repository at this point in the history
  • Loading branch information
metroid-maniac committed Apr 21, 2023
1 parent 11979be commit 00ab65e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions payload.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ asm(R"(.text
ldr r2, save_size
add r2, r1
mov r3, # 0x09000000
# Lock 369in1 mapper
mov r4, # 0x80
strb r4, [r1, # 3]
sram_init_loop:
lsr r4, r1, # 16
and r4, # 1
Expand Down

0 comments on commit 00ab65e

Please sign in to comment.