mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
PixelEngine: Drop write-only variables.
This commit is contained in:
@ -38,8 +38,6 @@ static u16 m_tokenReg;
|
||||
|
||||
static std::atomic<bool> s_interrupt_set;
|
||||
static std::atomic<bool> s_interrupt_waiting;
|
||||
static std::atomic<bool> s_interrupt_token_waiting;
|
||||
static std::atomic<bool> s_interrupt_finish_waiting;
|
||||
|
||||
static bool IsOnThread()
|
||||
{
|
||||
@ -65,8 +63,6 @@ void DoState(PointerWrap& p)
|
||||
|
||||
p.Do(s_interrupt_set);
|
||||
p.Do(s_interrupt_waiting);
|
||||
p.Do(s_interrupt_token_waiting);
|
||||
p.Do(s_interrupt_finish_waiting);
|
||||
}
|
||||
|
||||
static inline void WriteLow(volatile u32& _reg, u16 lowbits)
|
||||
@ -112,8 +108,6 @@ void Init()
|
||||
|
||||
s_interrupt_set.store(false);
|
||||
s_interrupt_waiting.store(false);
|
||||
s_interrupt_finish_waiting.store(false);
|
||||
s_interrupt_token_waiting.store(false);
|
||||
|
||||
et_UpdateInterrupts = CoreTiming::RegisterEvent("CPInterrupt", UpdateInterrupts_Wrapper);
|
||||
}
|
||||
@ -356,16 +350,6 @@ bool IsInterruptWaiting()
|
||||
return s_interrupt_waiting.load();
|
||||
}
|
||||
|
||||
void SetInterruptTokenWaiting(bool waiting)
|
||||
{
|
||||
s_interrupt_token_waiting.store(waiting);
|
||||
}
|
||||
|
||||
void SetInterruptFinishWaiting(bool waiting)
|
||||
{
|
||||
s_interrupt_finish_waiting.store(waiting);
|
||||
}
|
||||
|
||||
void SetCPStatusFromGPU()
|
||||
{
|
||||
// breakpoint
|
||||
|
Reference in New Issue
Block a user