Difference between revisions of "MCURTC:SetSoftwareClosedFlag"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00510040] |- | 1 | bool |} =Response= {| class="wikitable" border="1" |- !...")
 
(No difference)

Latest revision as of 05:35, 2 May 2016

Request[edit]

Index Word Description
0 Header code [0x00510040]
1 bool

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This writes to the MCU system-state buffer and updates the SoftwareClosed (formerly LegacyPoweroff) bit.

This is set by LgyBg during graceful reboot (power not *held*) to prompt a "Software closed" screen when the system returns to NATIVE_FIRM. If power was held during a LGY fatal error, this flag is not set.

This is also set when power is pressed in System Settings (as a reboot is enforced there), hence no longer being called "LegacyPoweroff".