mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-06 01:22:15 +02:00
abort
This commit is contained in:
parent
27b5e6f382
commit
322dbb9788
@ -754,14 +754,7 @@ void Utils::CreateBlankProdInfoIfNeeded() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Result Utils::OpenBlankProdInfoFile(FsFile *out) {
|
Result Utils::OpenBlankProdInfoFile(FsFile *out) {
|
||||||
FsFile file = g_blank_prodinfo_file;
|
return fsFsOpenFile(&g_sd_filesystem, "/atmosphere/automatic_backups/prodinfo_blank.bin", FS_OPEN_READ, out);
|
||||||
|
|
||||||
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) {
|
bool Utils::IsCal0Valid(u8* cal0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user