mirror of
https://github.com/zeldaret/botw
synced 2026-09-09 19:51:27 -04:00
@@ -14,6 +14,8 @@ target_sources(uking PRIVATE
|
||||
HavokWorkerMgr.h
|
||||
KingEditor.cpp
|
||||
KingEditor.h
|
||||
MemoryProfiler.cpp
|
||||
MemoryProfiler.h
|
||||
OcclusionQueryCylinder.cpp
|
||||
OcclusionQueryCylinder.h
|
||||
OverlayArena.cpp
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#include "KingSystem/System/MemoryProfiler.h"
|
||||
|
||||
namespace ksys {
|
||||
|
||||
SEAD_SINGLETON_DISPOSER_IMPL(MemoryProfiler)
|
||||
|
||||
void MemoryProfiler::init(sead::Heap* heap) {
|
||||
mHeap = heap;
|
||||
_28 = nullptr;
|
||||
_30 = nullptr;
|
||||
}
|
||||
|
||||
} // namespace ksys
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <heap/seadDisposer.h>
|
||||
#include "KingSystem/Utils/Types.h"
|
||||
|
||||
namespace ksys {
|
||||
|
||||
class MemoryProfiler {
|
||||
SEAD_SINGLETON_DISPOSER(MemoryProfiler)
|
||||
MemoryProfiler() = default;
|
||||
|
||||
public:
|
||||
void init(sead::Heap* heap);
|
||||
|
||||
sead::Heap* mHeap{};
|
||||
void* _28{};
|
||||
void* _30{};
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(MemoryProfiler, 0x38);
|
||||
|
||||
} // namespace ksys
|
||||
Reference in New Issue
Block a user