From d972763cd2605dc5c62e4b593d456c094f94647f Mon Sep 17 00:00:00 2001 From: N2614 Date: Mon, 14 Feb 2011 04:48:36 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E8=A8=AD=E5=AE=9A=E3=81=8C=E7=84=A1?= =?UTF-8?q?=E5=8A=B9=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AF=E5=9B=BD=E3=81=A8?= =?UTF-8?q?=E8=A8=80=E8=AA=9E=E3=81=AE=E3=83=87=E3=83=BC=E3=82=BF=E3=82=92?= =?UTF-8?q?=E5=87=BA=E5=8A=9B=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@48 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/ConsoleBackup/Exporter.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/trunk/ConsoleDataMigration/ConsoleBackup/Exporter.cpp b/trunk/ConsoleDataMigration/ConsoleBackup/Exporter.cpp index 83f4d5e..4418a1f 100644 --- a/trunk/ConsoleDataMigration/ConsoleBackup/Exporter.cpp +++ b/trunk/ConsoleDataMigration/ConsoleBackup/Exporter.cpp @@ -156,11 +156,13 @@ void WriteCountryLanguageData() // 国設定 s_CountryLanguage.country = nn::cfg::CTR::GetCountry(); + if (s_CountryLanguage.country != nn::cfg::CTR::CFG_COUNTRY_UNKNOWN) + { + // 言語設定 + s_CountryLanguage.language = nn::cfg::CTR::GetLanguage(); - // 言語設定 - s_CountryLanguage.language = nn::cfg::CTR::GetLanguage(); - - s_SdWriter.WriteBuf(common::COUNTRY_SETTING_PATHNAME, &s_CountryLanguage, sizeof(s_CountryLanguage)); + s_SdWriter.WriteBuf(common::COUNTRY_SETTING_PATHNAME, &s_CountryLanguage, sizeof(s_CountryLanguage)); + } } void WriteNorData()