mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 09:49:03 +02:00
Debug mode buildfix on Windows
This commit is contained in:
1 parent
54a6ac7dd1
commit
b5df6aa301
1 file changed
+7
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "Common/DbgNew.h"
|
||||
#include "Common/Profiler/Profiler.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/Util/PPGeDraw.h"
|
||||
@@ -294,5 +295,11 @@ bool GPU_Null::PerformMemorySet(u32 dest, u8 v, int size) {
|
||||
} // namespace
|
||||
|
||||
GPUCommon *CreateNullGPU(GraphicsContext *gfxCtx) {
|
||||
#ifdef USE_CRT_DBG
|
||||
#undef new
|
||||
#endif
|
||||
return new GPU_Null(gfxCtx);
|
||||
#ifdef USE_CRT_DBG
|
||||
#define new DBG_NEW
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user