Fix FIFO player crashing when USE_MEMORYWATCHER is defined
This commit is contained in:
parent
398aa2a9f9
commit
44fe5812b9
|
@ -133,7 +133,8 @@ void FrameUpdateOnCPUThread()
|
||||||
void OnFrameEnd()
|
void OnFrameEnd()
|
||||||
{
|
{
|
||||||
#ifdef USE_MEMORYWATCHER
|
#ifdef USE_MEMORYWATCHER
|
||||||
s_memory_watcher->Step();
|
if (s_memory_watcher)
|
||||||
|
s_memory_watcher->Step();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue