Fix binlog magic, uncomment code

This commit is contained in:
XorTroll 2021-08-03 16:21:21 +02:00
parent aaea36565c
commit bcc495c7b4
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ namespace ams::lm::impl {
}; };
struct BinaryLogHeader { struct BinaryLogHeader {
static constexpr u32 Magic = util::FourCC<'p','h','p','h'>::Code; static constexpr u32 Magic = util::FourCC<'h','p','h','p'>::Code;
u32 magic; u32 magic;
u8 version; u8 version;

View File

@ -148,7 +148,6 @@ void __appExit(void) {
setsysExit(); setsysExit();
} }
/*
namespace ams { namespace ams {
void *Malloc(size_t size) { void *Malloc(size_t size) {
@ -180,7 +179,6 @@ void *__libnx_aligned_alloc(size_t alignment, size_t size) {
void __libnx_free(void *mem) { void __libnx_free(void *mem) {
AMS_ABORT("__libnx_free was called"); AMS_ABORT("__libnx_free was called");
} }
*/
extern std::atomic_bool g_disabled_flush; extern std::atomic_bool g_disabled_flush;