diff --git a/src/common/hacks/hack_list.cpp b/src/common/hacks/hack_list.cpp index c5702df5e..ce93ad2ef 100644 --- a/src/common/hacks/hack_list.cpp +++ b/src/common/hacks/hack_list.cpp @@ -67,6 +67,9 @@ HackManager hack_manager = { 0x0004013000002C02, // Normal 0x0004013000002C03, // Safe mode 0x0004013020002C03, // New 3DS safe mode + + // DLP + 0x0004013000002802, }, }}, diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index b69d22acc..51e4e2a3c 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -3255,9 +3255,15 @@ void Module::Interface::BeginImportProgramTemporarily(Kernel::HLERequestContext& // Create our CIAFile handle for the app to write to, and while the app writes Citra will store // contents out to sdmc/nand const FileSys::Path cia_path = {}; - auto file = std::make_shared( - am->system.Kernel(), std::make_unique(am->system, FS::MediaType::NAND), cia_path); + std::shared_ptr file; + { + auto cia_file = std::make_unique(am->system, FS::MediaType::NAND); + AuthorizeCIAFileDecryption(cia_file.get(), ctx); + + file = std::make_shared( + am->system.Kernel(), std::move(cia_file), cia_path); + } am->cia_installing = true; IPC::RequestBuilder rb = rp.MakeBuilder(1, 2); diff --git a/src/core/hle/service/nwm/nwm_uds.cpp b/src/core/hle/service/nwm/nwm_uds.cpp index 857e489af..9cbae4354 100644 --- a/src/core/hle/service/nwm/nwm_uds.cpp +++ b/src/core/hle/service/nwm/nwm_uds.cpp @@ -351,7 +351,7 @@ void NWM_UDS::HandleSecureDataPacket(const Network::WifiPacket& packet) { if (connection_status.status != NetworkStatus::ConnectedAsHost && connection_status.status != NetworkStatus::ConnectedAsClient && connection_status.status != NetworkStatus::ConnectedAsSpectator) { - LOG_ERROR(Service_NWM, "Ignored SecureDataPacket because connection status is {}", + LOG_DEBUG(Service_NWM, "Ignored SecureDataPacket because connection status is {}", static_cast(connection_status.status)); return; }