summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp
index 6dc471736e..8876ab6abd 100644
--- a/Source/Core/Core/Core.cpp
+++ b/Source/Core/Core/Core.cpp
@@ -133,7 +133,8 @@ void FrameUpdateOnCPUThread()
void OnFrameEnd()
{
#ifdef USE_MEMORYWATCHER
- s_memory_watcher->Step();
+ if (s_memory_watcher)
+ s_memory_watcher->Step();
#endif
}