mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
[ckernel] split by game version (#1559)
* 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
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user