fix IsEmunand() failing due to the paths not being page aligned.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#include "owo.hpp"
|
#include "owo.hpp"
|
||||||
#include "option.hpp"
|
#include "option.hpp"
|
||||||
#include "fs.hpp"
|
#include "fs.hpp"
|
||||||
|
#include "log.hpp"
|
||||||
|
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -146,7 +147,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static auto IsEmunand() -> bool {
|
static auto IsEmunand() -> bool {
|
||||||
struct EmummcPaths {
|
alignas(0x1000) struct EmummcPaths {
|
||||||
char unk[0x80];
|
char unk[0x80];
|
||||||
char nintendo[0x80];
|
char nintendo[0x80];
|
||||||
} paths{};
|
} paths{};
|
||||||
|
|||||||
Reference in New Issue
Block a user