rosalina: fix shell open notif. handling at boot
Was causing boot failure with recent commits.
This commit is contained in:
parent
faa4a0d4f9
commit
e7a4003f06
@ -162,7 +162,15 @@ static void handleShellNotification(u32 notificationId)
|
|||||||
{
|
{
|
||||||
if (notificationId == 0x213) {
|
if (notificationId == 0x213) {
|
||||||
// Shell opened
|
// Shell opened
|
||||||
// Note that this notification is fired on system init
|
// Note that this notification is also fired on system init.
|
||||||
|
// Sequence goes like this: MCU fires notif. 0x200 on shell open
|
||||||
|
// and shell close, then NS demuxes it and fires 0x213 and 0x214.
|
||||||
|
|
||||||
|
// We need to check here if GSP has done its init stuff, in particular
|
||||||
|
// clock and reset, otherwise we'll cause core1 to be in a waitstate
|
||||||
|
// forever (if we access a GPU reg while the GPU block's clock is off).
|
||||||
|
// (GSP does its init before registering its services)
|
||||||
|
if (isServiceUsable("gsp::Gpu"))
|
||||||
ScreenFiltersMenu_RestoreSettings();
|
ScreenFiltersMenu_RestoreSettings();
|
||||||
menuShouldExit = false;
|
menuShouldExit = false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user