mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -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:
@ -21,7 +21,7 @@
|
||||
|
||||
namespace CommandProcessor
|
||||
{
|
||||
static int et_UpdateInterrupts;
|
||||
static CoreTiming::EventType* et_UpdateInterrupts;
|
||||
|
||||
// TODO(ector): Warn on bbox read/write
|
||||
|
||||
|
@ -48,7 +48,7 @@ static u8* s_fifo_aux_read_ptr;
|
||||
static bool s_use_deterministic_gpu_thread;
|
||||
|
||||
static u64 s_last_sync_gpu_tick;
|
||||
static int s_event_sync_gpu;
|
||||
static CoreTiming::EventType* s_event_sync_gpu;
|
||||
|
||||
// STATE_TO_SAVE
|
||||
static u8* s_video_buffer;
|
||||
|
@ -100,7 +100,7 @@ static bool s_event_raised;
|
||||
static bool s_signal_token_interrupt;
|
||||
static bool s_signal_finish_interrupt;
|
||||
|
||||
static int et_SetTokenFinishOnMainThread;
|
||||
static CoreTiming::EventType* et_SetTokenFinishOnMainThread;
|
||||
|
||||
enum
|
||||
{
|
||||
|
Reference in New Issue
Block a user