We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d84384 commit 03d3f16Copy full SHA for 03d3f16
1 file changed
Toshi/Source/TGui/TGUIMemory.cpp
@@ -9,7 +9,7 @@ TPile TGUIMemory::ms_oMemoryPile = TPile(0x8000, 0x100000, 0);
9
void *TOSHI_API TGUINew(TUINT a_uiSize)
10
{
11
if (TGUIMemory::ms_bAllocUsePile) {
12
- TGUIMemory::ms_oMemoryPile.RawAlloc(a_uiSize, 4);
+ return TGUIMemory::ms_oMemoryPile.RawAlloc(a_uiSize, 4);
13
}
14
return tmalloc(a_uiSize, TNULL, -1);
15
0 commit comments