build fixes missed by copy over

This commit is contained in:
marauder2k7 2025-05-04 10:34:43 +01:00
parent 8c812cb448
commit 8f856dd7cd
4 changed files with 22 additions and 8 deletions

View file

@ -204,6 +204,21 @@ namespace Memory
std::free(ptr);
}
void getMemoryInfo(void* ptr, MemInfo& info)
{
if (!ptr || !initialized)
return;
for (U32 i = 0; i < allocCount; ++i)
{
if (allocList[i].ptr == ptr)
{
info = allocList[i];
return;
}
}
}
static void* realloc(void* oldPtr, dsize_t newSize, const char* fileName, U32 line)
{
if (!initialized)