fix(whoa): update thunderbrew to use the refactored squall error/validation and bc allocation macros

This commit is contained in:
superp00t committed 2025-03-31 23:52:37 -04:00
1 parent 1aeacd0d2e
commit 46843880ef
66 files changed
+459 -457

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ target_link_libraries(ui
net
util
PUBLIC
bc
common
storm
tempest
+2 -3
View File
@@ -2,15 +2,14 @@
#include "gx/Draw.hpp"
#include "ui/CRenderBatch.hpp"
#include "ui/CSimpleModelFFXScript.hpp"
#include <storm/Memory.hpp>
#include <bc/Memory.hpp>
int32_t CSimpleModelFFX::s_metatable;
CSimpleFrame* CSimpleModelFFX::Create(CSimpleFrame* parent) {
// TODO
// auto m = CDataAllocator::GetData(CSimpleModelFFX::s_simpleModelFFXHeap, 0, __FILE__, __LINE__);
auto m = SMemAlloc(sizeof(CSimpleModelFFX), __FILE__, __LINE__, 0x0);
return new (m) CSimpleModelFFX(parent);
return NEW(CSimpleModelFFX, parent);
}
void CSimpleModelFFX::Render(void* arg) {
+1 -2
View File
@@ -1,9 +1,8 @@
#include "ui/LuaMemory.hpp"
#include "ui/FrameScript.hpp"
#include <cstring>
#include <new>
#include <common/MemPool.hpp>
#include <storm/Memory.hpp>
#include <bc/Memory.hpp>
void* luaM_initPool() {
void* m = SMemAlloc(sizeof(MemPool*) * 9, __FILE__, __LINE__, 0x0);