diff --git a/trunk/ConsoleDataMigration/sources/ConsoleBackup/Exporter.cpp b/trunk/ConsoleDataMigration/sources/ConsoleBackup/Exporter.cpp index 6d0834e..ffa4f46 100644 --- a/trunk/ConsoleDataMigration/sources/ConsoleBackup/Exporter.cpp +++ b/trunk/ConsoleDataMigration/sources/ConsoleBackup/Exporter.cpp @@ -897,6 +897,9 @@ bool ExportData(common::HardwareStateManager& manager) { nn::Result result; + // 電源断の履歴をptmに追加する + AddShutDownPtmEvent(); + // リージョンデータをSDに書き込む result = WriteRegionData(); COMMON_LOGGER_RETURN_FALSE_IF_FAILED(result); @@ -921,9 +924,6 @@ bool ExportData(common::HardwareStateManager& manager) result = WriteIvs(manager); COMMON_LOGGER_RETURN_FALSE_IF_FAILED(result); - // 電源断の履歴をptmに追加する - AddShutDownPtmEvent(); - // RTCをSDに書き出す result = WriteMcuRtcData(manager); COMMON_LOGGER_RETURN_FALSE_IF_FAILED(result);