MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / CleanPendingUpdate

Function CleanPendingUpdate

Goldleaf/source/upd/upd_Update.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void CleanPendingUpdate() {
84 if(R_SUCCEEDED(nssuInitialize())) {
85 nssuDestroySystemUpdateTask();
86 nssuExit();
87 }
88
89 auto sys_exp = fs::GetNANDSystemExplorer();
90 sys_exp->EmptyDirectory("Contents/placehld");
91 }
92
93 SetSysFirmwareVersion GetUpdateFirmwareVersion(const UpdateVersion &ver) {
94 SetSysFirmwareVersion fw_ver = {

Callers 1

Calls 2

GetNANDSystemExplorerFunction · 0.85
EmptyDirectoryMethod · 0.80

Tested by

no test coverage detected