mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
国名が未設定の時にアボートしていたので修正
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@627 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
251a4deb59
commit
9eb0ef4b18
@ -738,7 +738,7 @@ bool BgsCommunicator::Execute(const void* buf, size_t size)
|
||||
COMMON_LOGGER_RETURN_FALSE_IF_FAILED( m_Result);
|
||||
m_Result = m_HttpCon.SetRootCa(NNSSL_CACERT_PUBLIC_CA_2);
|
||||
COMMON_LOGGER_RETURN_FALSE_IF_FAILED( m_Result);
|
||||
m_Result = m_HttpCon.SetRootCa(NNSSL_CACERT_PUBLIC_CA_3);\
|
||||
m_Result = m_HttpCon.SetRootCa(NNSSL_CACERT_PUBLIC_CA_3);
|
||||
COMMON_LOGGER_RETURN_FALSE_IF_FAILED( m_Result);
|
||||
m_Result = m_HttpCon.SetRootCa(NNSSL_CACERT_PUBLIC_CA_4);
|
||||
COMMON_LOGGER_RETURN_FALSE_IF_FAILED(m_Result);
|
||||
|
||||
@ -394,7 +394,7 @@ nn::Result ImportCountryLanguageData()
|
||||
nn::Result result = nn::ResultSuccess();
|
||||
|
||||
// 設定済みなら何もしない
|
||||
if(nn::cfg::CTR::GetCountry() != nn::cfg::CTR::CFG_COUNTRY_UNKNOWN)
|
||||
if(nn::cfg::CTR::GetCountry() != nn::cfg::CTR::CFG_COUNTRY_UNKNOWN && nn::cfg::CTR::GetCountry() != nn::cfg::CFG_COUNTRY_UNDEFINED)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user