strat: update for latest libnx.
This commit is contained in:
1 parent
393596ef9a
commit
b758e3fc55
9 files changed
+39
-37
No files matched your search
@@ -55,7 +55,7 @@ namespace ams::boot {
|
||||
|
||||
Result GetBatteryVendorImpl(u32 *vendor) {
|
||||
FsStorage s;
|
||||
R_TRY(fsOpenBisStorage(&s, FsBisStorageId_CalibrationBinary));
|
||||
R_TRY(fsOpenBisStorage(&s, FsBisPartitionId_CalibrationBinary));
|
||||
ON_SCOPE_EXIT { fsStorageClose(&s); };
|
||||
|
||||
u8 battery_lot[BatteryLotSize];
|
||||
@@ -69,7 +69,7 @@ namespace ams::boot {
|
||||
|
||||
Result GetBatteryVersionImpl(u32 *version) {
|
||||
FsStorage s;
|
||||
R_TRY(fsOpenBisStorage(&s, FsBisStorageId_CalibrationBinary));
|
||||
R_TRY(fsOpenBisStorage(&s, FsBisPartitionId_CalibrationBinary));
|
||||
ON_SCOPE_EXIT { fsStorageClose(&s); };
|
||||
|
||||
u8 battery_version[BatteryVersionSize];
|
||||
|
||||
Reference in new issue
Block a user