diff --git a/libctru/include/3ds/services/act.h b/libctru/include/3ds/services/act.h index e01beaf57..dbfc6843b 100644 --- a/libctru/include/3ds/services/act.h +++ b/libctru/include/3ds/services/act.h @@ -917,11 +917,11 @@ Result ACTA_SetIsMiiUpdated(u8 accountSlot, bool isDirty); * @brief Initializes a server account transfer of a specific account to another device. * @param accountSlot The account slot number of the account to transfer the server account of. * @param newDevice Pointer to device info of the target device. - * @param operator Pointer to operator data for the transfer. + * @param operatorData Pointer to operator data for the transfer. * @param operatorSize Size of the operator data buffer (max: 0x100) * @param completionEvent The event handle to signal once the request has finished. */ -Result ACTA_ReserveTransfer(u8 accountSlot, DeviceInfo *newDevice, char *operator, u32 operatorSize, Handle completionEvent); +Result ACTA_ReserveTransfer(u8 accountSlot, DeviceInfo *newDevice, char *operatorData, u32 operatorSize, Handle completionEvent); /** * @brief Finalizes a server account transfer of a specifc account to another device. @@ -993,4 +993,4 @@ Result ACTA_ReloadAndBlockSaveData(Handle unloadFinishedEvent, Handle remountAnd * @param accountSlot The account slot number of the account to perform this action on. * @param completionEvent The event handle to signal once the request has finished. */ -Result ACTA_ReserveServerAccountDeletion(u8 accountSlot, Handle completionEvent); \ No newline at end of file +Result ACTA_ReserveServerAccountDeletion(u8 accountSlot, Handle completionEvent); diff --git a/libctru/source/services/act.c b/libctru/source/services/act.c index 0943e21ec..5e4d040d6 100644 --- a/libctru/source/services/act.c +++ b/libctru/source/services/act.c @@ -1218,7 +1218,7 @@ Result ACTA_SetIsMiiUpdated(u8 accountSlot, bool isDirty) return (Result)cmdbuf[1]; } -Result ACTA_ReserveTransfer(u8 accountSlot, DeviceInfo *newDevice, char *operator, u32 operatorSize, Handle completionEvent) +Result ACTA_ReserveTransfer(u8 accountSlot, DeviceInfo *newDevice, char *operatorData, u32 operatorSize, Handle completionEvent) { Result ret = 0; u32 *cmdbuf = getThreadCommandBuffer(); @@ -1230,7 +1230,7 @@ Result ACTA_ReserveTransfer(u8 accountSlot, DeviceInfo *newDevice, char *operato cmdbuf[8] = IPC_Desc_SharedHandles(1); cmdbuf[9] = completionEvent; cmdbuf[10] = IPC_Desc_Buffer(operatorSize, IPC_BUFFER_R); - cmdbuf[11] = (u32)operator; + cmdbuf[11] = (u32)operatorData; if (R_FAILED(ret = svcSendSyncRequest(actHandle))) return ret;