fix IsEmunand() failing due to the paths not being page aligned.

This commit is contained in:
ITotalJustice
2025-05-15 16:13:35 +01:00
parent 70a31be134
commit 544272925d

View File

@@ -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{};