mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@ void FrameUpdateOnCPUThread()
|
|||
void OnFrameEnd()
|
||||
{
|
||||
#ifdef USE_MEMORYWATCHER
|
||||
s_memory_watcher->Step();
|
||||
if (s_memory_watcher)
|
||||
s_memory_watcher->Step();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue