summaryrefslogtreecommitdiff
path: root/src/f
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-07-24 13:55:13 +0200
committerrobojumper <robojumper@gmail.com>2025-07-24 13:55:13 +0200
commit39be7ff72cd374e2d915487e90987c8518c4a395 (patch)
treee091d030fbb85ec5b82d37b6260f91ac3cc86be1 /src/f
parente8350dc5681fd9d689f25474674d0e930263bda2 (diff)
Fix a bunch of m symbols
Diffstat (limited to 'src/f')
-rw-r--r--src/f/f_base.cpp30
1 files changed, 18 insertions, 12 deletions
diff --git a/src/f/f_base.cpp b/src/f/f_base.cpp
index 3fddeae8..d1b7e34a 100644
--- a/src/f/f_base.cpp
+++ b/src/f/f_base.cpp
@@ -23,8 +23,11 @@ void (*fBase_c::sUnloadCallback)();
/* 802e12f0 */
fBase_c::fBase_c()
- : unique_ID(m_rootUniqueID), params(m_tmpCtData.params), profile_name(m_tmpCtData.prof_name),
- group_type(m_tmpCtData.group_type), manager(this) {
+ : unique_ID(m_rootUniqueID),
+ params(m_tmpCtData.params),
+ profile_name(m_tmpCtData.prof_name),
+ group_type(m_tmpCtData.group_type),
+ manager(this) {
m_rootUniqueID = (fBaseID_e)(m_rootUniqueID + 1);
if (m_rootUniqueID == INVALID) {
for (;;) {
@@ -59,10 +62,10 @@ fBase_c::~fBase_c() {
// that causes a weak destructor to spawn that actually needs to be in f_manager.
// And it's not like any of fLiMgBa_c's methods are accessed via actor_list,
// so who can tell? Maybe there's yet another type?
- fLiNdBa_c *node = static_cast<fLiNdBa_c*>(actor_list.getFirst());
+ fLiNdBa_c *node = static_cast<fLiNdBa_c *>(actor_list.getFirst());
while (node != nullptr) {
node->unlink();
- node = static_cast<fLiNdBa_c*>(actor_list.getFirst());
+ node = static_cast<fLiNdBa_c *>(actor_list.getFirst());
}
}
@@ -443,8 +446,9 @@ bool fBase_c::entryFrmHeap(size_t size, EGG::Heap *parentHeap) {
EGG::FrmHeap *new_heap = nullptr;
if (size != 0) {
- new_heap =
- mHeap::makeFrmHeapAndUpdate(size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, 0);
+ new_heap = mHeap::createFrmHeapToCurrent(
+ size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, mHeap::OPT_NONE
+ );
if (new_heap != nullptr) {
bool create_sucess = createHeap();
mHeap::restoreCurrentHeap();
@@ -461,8 +465,9 @@ bool fBase_c::entryFrmHeap(size_t size, EGG::Heap *parentHeap) {
}
}
if (new_heap == nullptr) {
- new_heap =
- mHeap::makeFrmHeapAndUpdate(-1, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, 0);
+ new_heap = mHeap::createFrmHeapToCurrent(
+ -1, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, mHeap::OPT_NONE
+ );
if (new_heap != nullptr) {
bool create_sucess = createHeap();
@@ -477,8 +482,8 @@ bool fBase_c::entryFrmHeap(size_t size, EGG::Heap *parentHeap) {
}
if (new_heap != nullptr) {
- EGG::FrmHeap *larger_heap = mHeap::makeFrmHeapAndUpdate(
- heap_size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, 0
+ EGG::FrmHeap *larger_heap = mHeap::createFrmHeapToCurrent(
+ heap_size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, mHeap::OPT_NONE
);
if (larger_heap != nullptr) {
if (larger_heap < new_heap) {
@@ -516,8 +521,9 @@ bool fBase_c::entryFrmHeapNonAdjust(size_t size, EGG::Heap *parentHeap) {
return true;
}
- EGG::FrmHeap *new_heap =
- mHeap::makeFrmHeapAndUpdate(size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, 0);
+ EGG::FrmHeap *new_heap = mHeap::createFrmHeapToCurrent(
+ size, parentHeap, "各プロセスが個別で持てるヒープ(fBase_c::mHeap)", 0x20, mHeap::OPT_NONE
+ );
if (new_heap != nullptr) {
bool create_sucess = createHeap();
mHeap::restoreCurrentHeap();