From f9272785ff9b000df71b23d0f840db24895071ff Mon Sep 17 00:00:00 2001 From: Christoph Baumann Date: Sat, 6 Aug 2022 01:04:43 +0200 Subject: [PATCH] update config addresses --- README.md | 4 ++-- ums-loader/main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c0f5b7c..b71f87d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 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 | |-----|---------|-------------------------------------------------------------------------------------------------------------------| @@ -16,7 +16,7 @@ Offset: 0xa4 | | | 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 | |-----|---------|------------------------------------| diff --git a/ums-loader/main.c b/ums-loader/main.c index d7e1957..53c2a61 100644 --- a/ums-loader/main.c +++ b/ums-loader/main.c @@ -15,7 +15,7 @@ #include #include -// Offset: 0xa4 +// Offset: 0x94 // +-----+---------+------------------------------------+ // | Bit | Default | Function | // +-----+---------+------------------------------------+ @@ -30,7 +30,7 @@ // | | | stopped | // +-----+---------+------------------------------------+ -// Offset: 0xa5 +// Offset: 0x95 // +-----+---------+------------------------------------+ // | Bit | Default | Function | // +-----+---------+------------------------------------+