Merge pull request #8237 from JosJuice/memory-watcher-nullptr
Fix FIFO player crashing when USE_MEMORYWATCHER is defined
This commit is contained in:
commit
8d8d103739
|
@ -133,6 +133,7 @@ void FrameUpdateOnCPUThread()
|
||||||
void OnFrameEnd()
|
void OnFrameEnd()
|
||||||
{
|
{
|
||||||
#ifdef USE_MEMORYWATCHER
|
#ifdef USE_MEMORYWATCHER
|
||||||
|
if (s_memory_watcher)
|
||||||
s_memory_watcher->Step();
|
s_memory_watcher->Step();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue