mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
7 lines
249 B
C
7 lines
249 B
C
|
|
//Override the new operator to use the memory leak detection from visual studio
|
||
|
|
//Does not work with placement new
|
||
|
|
#if defined(MSVC_CRT_MEMLEAK_DETECTION) && defined(_DEBUG) && defined(DBG_NEW)
|
||
|
|
#pragma push_macro("new")
|
||
|
|
#define new DBG_NEW
|
||
|
|
#endif
|