rosalina: don't keep an ac:u handle. Partially fixes the shutdown issue

This commit is contained in:
TuxSH
2020-04-26 20:55:52 +01:00
parent 33431cb939
commit 1d8b793cf7
2 changed files with 7 additions and 3 deletions

View File

@@ -153,6 +153,8 @@ static void SysConfigMenu_ForceWifiConnection(int slot)
{
char ssid[0x20 + 1] = {0};
acInit();
acuConfig config = {0};
ACU_CreateDefaultConfig(&config);
ACU_SetNetworkArea(&config, 2);
@@ -173,6 +175,8 @@ static void SysConfigMenu_ForceWifiConnection(int slot)
}
svcCloseHandle(connectEvent);
acExit();
char infoString[80] = {0};
u32 infoStringColor = forcedConnection ? COLOR_GREEN : COLOR_RED;
if(forcedConnection)