Fix libstrat includes

This commit is contained in:
Adubbz 2019-10-02 23:34:27 +10:00
parent 1c19856fb0
commit 0e8c6a08ea
3 changed files with 5 additions and 4 deletions

View File

@ -15,8 +15,8 @@
*/
#pragma once
#include <cstring>
#include <switch.h>
#include <stratosphere.hpp>
namespace sts::lr {

View File

@ -15,6 +15,7 @@
*/
#pragma once
#include <cstring>
#include <switch.h>
namespace sts::util {

View File

@ -349,7 +349,7 @@ namespace sts::updater {
void *work = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(work_buffer) + BctSize);
size_t size;
R_TRY(fs::ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
R_TRY(ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
if (HasEks(boot_image_update_type)) {
R_TRY(boot0_accessor.UpdateEks(bct, work));
}
@ -411,7 +411,7 @@ namespace sts::updater {
void *work = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(work_buffer) + BctSize);
size_t size;
R_TRY(fs::ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
R_TRY(ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
if (HasEks(boot_image_update_type)) {
R_TRY(boot0_accessor.UpdateEks(bct, work));
}
@ -465,7 +465,7 @@ namespace sts::updater {
void *work = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(work_buffer) + BctSize);
size_t size;
R_TRY(fs::ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
R_TRY(ReadFile(&size, bct, BctSize, GetBctPath(boot_image_update_type)));
if (HasEks(boot_image_update_type)) {
R_TRY(accessor.UpdateEks(bct, work));
}