Skip to content

Commit

Permalink
update config addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
lulle2007200 committed Aug 5, 2022
1 parent 7a3f8d4 commit f927278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ The payload only uses IRAM. This may be very helpful when your switch has broken

Payload can be configured by writing a configuration to the following offsets:

Offset: 0xa4
Offset: 0x94

| Bit | Default | Function |
|-----|---------|-------------------------------------------------------------------------------------------------------------------|
| 0 | 0 | 0: Show the interactive Menu |
| | | 1: Start UMS automatically, use config in 0xa5 |
| 1:2 | 0 | 0: Return to menu after UMS has stopped 1: Power off after UMS has stopped 2: Reboot to RCM after UMS has stopped |

Offset: 0xa5
Offset: 0x95

| Bit | Default | Function |
|-----|---------|------------------------------------|
Expand Down
4 changes: 2 additions & 2 deletions ums-loader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <gfx_utils.h>
#include <tui.h>

// Offset: 0xa4
// Offset: 0x94
// +-----+---------+------------------------------------+
// | Bit | Default | Function |
// +-----+---------+------------------------------------+
Expand All @@ -30,7 +30,7 @@
// | | | stopped |
// +-----+---------+------------------------------------+

// Offset: 0xa5
// Offset: 0x95
// +-----+---------+------------------------------------+
// | Bit | Default | Function |
// +-----+---------+------------------------------------+
Expand Down

0 comments on commit f927278

Please sign in to comment.