Skip to content
Snippets Groups Projects
Commit 7215ac95 authored by Belal Ashraf's avatar Belal Ashraf Committed by Crimson-Hawk
Browse files

Fix NROs crashing and loading infinitely

parent 39eea71e
No related branches found
No related tags found
No related merge requests found
......@@ -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));
memset(out_control.data(), 0, sizeof(u8) * out_control.size());
}
auto& storage = system.GetContentProviderUnion();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment