| 10 | void* operator new (size_t count) |
| 11 | #else |
| 12 | void* operator new (unsigned long count) |
| 13 | #endif |
| 14 | { |
| 15 | void* ptr = AllocatePool(count); |
| 16 | if ( !ptr ) { |
| 17 | DebugLog(2, "AllocatePool(%lu) returned NULL. Cpu halted\n", count); |
| 18 | CpuDeadLoop(); |
| 19 | } |
| 20 | return ptr; |
| 21 | } |
| 22 | |
| 23 | #if defined(_MSC_VER) |
| 24 | void* operator new[] (size_t count) |
nothing calls this directly
no test coverage detected