mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 05:59:06 -06:00
Core: Change CoreTiming event key from int to EventType*
Replace 'int' keys with something that carries type information. Performance is neutral.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
#include "Core/MemoryWatcher.h"
|
||||
|
||||
static std::unique_ptr<MemoryWatcher> s_memory_watcher;
|
||||
static int s_event;
|
||||
static CoreTiming::EventType* s_event;
|
||||
static const int MW_RATE = 600; // Steps per second
|
||||
|
||||
static void MWCallback(u64 userdata, s64 cyclesLate)
|
||||
|
Reference in New Issue
Block a user