HomeWildfire Games

Fix profiler malloc count in debug mode on Windows

Description

Fix profiler malloc count in debug mode on Windows

wdbg_heap_NumberOfAllocations doesn't work without the wdbg_heap
leak detector, which is disabled since it's slow and broken.
Use a simple hook via _CrtSetAllocHook instead to count allocations.

Details

Committed
philipSep 29 2013, 4:43 PM
Parents
rP13909: Gauls get: Tavern and Naked Fanatic.
Branches
Unknown
Tags
Unknown