mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-06 17:42:14 +02:00
fix
This commit is contained in:
parent
99d4a37a1d
commit
27b5e6f382
@ -754,7 +754,14 @@ void Utils::CreateBlankProdInfoIfNeeded() {
|
||||
}
|
||||
|
||||
Result Utils::OpenBlankProdInfoFile(FsFile *out) {
|
||||
return ipcCloneSession(g_blank_prodinfo_file.s.handle, 1, &out->s.handle);
|
||||
FsFile file = g_blank_prodinfo_file;
|
||||
|
||||
Result rc = ipcCloneSession(g_blank_prodinfo_file.s.handle, 1, &file.s.handle);
|
||||
if (R_SUCCEEDED(rc)) {
|
||||
*out = file;
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool Utils::IsCal0Valid(u8* cal0) {
|
||||
|
Loading…
Reference in New Issue
Block a user