/*---------------------------------------------------------------------------*
  Project:  CTR_TRIAL
  File:     sys_GetBondingOption.cpp

  Copyright (C)2010 Nintendo Co., Ltd.  All rights reserved.

  These coded instructions, statements, and computer programs contain
  proprietary information of Nintendo of America Inc. and/or Nintendo
  Company Ltd., and are protected by Federal copyright law.  They may
  not be disclosed to third parties or copied or duplicated in any form,
  in whole or in part, without the prior written consent of Nintendo.

 *---------------------------------------------------------------------------*/
#include "sys_GetBondingOption.h"
#include <nn/cfg/CTR/cfg_ApiInit.h>

using namespace nn::cfg::CTR::detail;
using namespace nn::cfg::CTR::init;

u8  uji::sys::GetBondingOption(void)
{
      LocalFriendCodeSeedBody lfcsb;
      LocalFriendCodeSeedBody * p;
      p = &lfcsb;
      
      GetLocalFriendCodeSeedBody(p, true);

      return lfcsb.bondingOption;
}
