From 93e87284aae81d6e4395b5a60aa84721d6fc2a3d Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Tue, 23 Jul 2019 00:13:17 +0200 Subject: [PATCH] follow changes in ctrulib PR --- sysmodules/rosalina/source/menus/sysconfig.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sysmodules/rosalina/source/menus/sysconfig.c b/sysmodules/rosalina/source/menus/sysconfig.c index 2eb36c4..530fe16 100644 --- a/sysmodules/rosalina/source/menus/sysconfig.c +++ b/sysmodules/rosalina/source/menus/sysconfig.c @@ -152,17 +152,17 @@ static void SysConfigMenu_ForceWifiConnection(int slot) { char ssid[0x20 + 1] = {0}; - u8 data[0x200] = {0}; - ACU_CreateDefaultConfig(data); - ACU_SetNetworkArea(data, 2); - ACU_SetAllowApType(data, 1 << slot); - ACU_SetRequestEulaVersion(data); + acuConfig config = {0}; + ACU_CreateDefaultConfig(&config); + ACU_SetNetworkArea(&config, 2); + ACU_SetAllowApType(&config, 1 << slot); + ACU_SetRequestEulaVersion(&config); Handle connectEvent = 0; svcCreateEvent(&connectEvent, RESET_ONESHOT); bool forcedConnection = false; - if(R_SUCCEEDED(ACU_ConnectAsync(data, connectEvent))) + if(R_SUCCEEDED(ACU_ConnectAsync(&config, connectEvent))) { if(R_SUCCEEDED(svcWaitSynchronization(connectEvent, -1))) {