mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
Windows refactors
This commit is contained in:
@@ -5,21 +5,26 @@ namespace Retro
|
||||
|
||||
CGameAllocator::SGameMemInfo* CGameAllocator::FindFreeBlock(u32)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
CGameAllocator::SGameMemInfo* CGameAllocator::FindFreeBlockFromTopOfHeap(u32)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
u32 CGameAllocator::FixupAllocPtrs(SGameMemInfo*, u32, u32, EHint, const CCallStack&)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
void CGameAllocator::UpdateAllocDebugStats(u32, u32, u32)
|
||||
{
|
||||
}
|
||||
bool CGameAllocator::FreeNormalAllocation(void*)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
u32 CGameAllocator::GetFreeBinEntryForSize(u32)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
void CGameAllocator::AddFreeEntryToFreeList(SGameMemInfo*)
|
||||
{
|
||||
@@ -32,6 +37,7 @@ void CGameAllocator::DumpAllocations() const
|
||||
}
|
||||
u32 CGameAllocator::GetLargestFreeChunk() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
CGameAllocator::SGameMemInfo* CGameAllocator::GetMemInfoFromBlockPtr(void* ptr)
|
||||
{
|
||||
@@ -40,12 +46,14 @@ CGameAllocator::SGameMemInfo* CGameAllocator::GetMemInfoFromBlockPtr(void* ptr)
|
||||
|
||||
bool CGameAllocator::Initialize()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
void CGameAllocator::Shutdown()
|
||||
{
|
||||
}
|
||||
void* CGameAllocator::Alloc(size_t, EHint, EScope, EType, const CCallStack&)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
void CGameAllocator::Free(void*)
|
||||
{
|
||||
@@ -55,6 +63,7 @@ void CGameAllocator::ReleaseAll()
|
||||
}
|
||||
void* CGameAllocator::AllocSecondary(size_t, EHint, EScope, EType, const CCallStack&)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
void CGameAllocator::FreeSecondary(void*)
|
||||
{
|
||||
@@ -69,15 +78,18 @@ void CGameAllocator::SetOutOfMemoryCallback(const TOutOfMemoryCallback cb, void*
|
||||
}
|
||||
int CGameAllocator::EnumAllocations(const TAllocationVisitCallback, void*, bool) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
CGameAllocator::SAllocInfo CGameAllocator::GetAllocInfo(void*) const
|
||||
{
|
||||
return CGameAllocator::SAllocInfo();
|
||||
}
|
||||
void CGameAllocator::OffsetFakeStatics(int)
|
||||
{
|
||||
}
|
||||
CGameAllocator::SMetrics CGameAllocator::GetMetrics() const
|
||||
{
|
||||
return CGameAllocator::SMetrics();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user