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