aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am/process_creation.cpp
diff options
context:
space:
mode:
authorJPikachu <jpikachu.eden@gmail.com>2025-04-13 22:42:28 +0100
committerswurl <swurl@swurl.xyz>2025-04-14 14:18:13 -0400
commitd6eff706f2a11413576976779c47bb5aff17eb8f (patch)
treeb67dd4c36f4e323fc84767cffd72b2d612b99033 /src/core/hle/service/am/process_creation.cpp
parent2149362378fc70d8face750b7c113989e685a960 (diff)
Service: am: enhance UnpopInData, GetHdcpAuthenticationState and GetHdcpAuthenticationStateChangeEvent
Thanks to Sudachi and Torzu for some help and referance.
Diffstat (limited to 'src/core/hle/service/am/process_creation.cpp')
-rw-r--r--src/core/hle/service/am/process_creation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/am/process_creation.cpp b/src/core/hle/service/am/process_creation.cpp
index 237151d061..81a8fb0b44 100644
--- a/src/core/hle/service/am/process_creation.cpp
+++ b/src/core/hle/service/am/process_creation.cpp
@@ -106,6 +106,7 @@ std::unique_ptr<Process> CreateApplicationProcess(std::vector<u8>& out_control,
out_control = nacp.GetRawBytes();
} else {
out_control.resize(sizeof(FileSys::RawNACP));
+ std::fill(out_control.begin(), out_control.end(), 0);
}
auto& storage = system.GetContentProviderUnion();