mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
e630b50690
* temp * split up kprint, other than format * start kmachine * split kmachine * split kscheme * split klink * split klisten * split remaining * jak2 ckernel gets to nokernel loop
25 lines
596 B
C++
25 lines
596 B
C++
#include "kmalloc.h"
|
|
|
|
/*
|
|
* Jak 2 adds a few "memopen" functions. I think these were used to categorize memory allocations.
|
|
* GOAL and C++ code will call "memopen" with an appropriate category name before making
|
|
* allocations.
|
|
*
|
|
* These functions do nothing in the release version (and all known versions), but they might be
|
|
* interested for us to track memory usage.
|
|
*/
|
|
|
|
namespace jak2 {
|
|
void kmemopen_from_c(Ptr<kheapinfo> heap, const char* name) {
|
|
(void)heap;
|
|
(void)name;
|
|
}
|
|
|
|
void kmemopen(u32 heap, u32 name) {
|
|
(void)heap;
|
|
(void)name;
|
|
}
|
|
|
|
void kmemclose() {}
|
|
} // namespace jak2
|