Change GetStatePtr() Return to const
This commit is contained in:
parent
54eb8c09f9
commit
3140f9b226
|
@ -225,7 +225,7 @@ CPUState GetState()
|
|||
return state;
|
||||
}
|
||||
|
||||
volatile CPUState *GetStatePtr()
|
||||
const volatile CPUState *GetStatePtr()
|
||||
{
|
||||
return &state;
|
||||
}
|
||||
|
|
|
@ -160,7 +160,7 @@ void Pause();
|
|||
void Stop();
|
||||
void FinishStateMove();
|
||||
CPUState GetState();
|
||||
volatile CPUState *GetStatePtr(); // this oddity is here instead of an extern declaration to easily be able to find all direct accesses throughout the code.
|
||||
const volatile CPUState *GetStatePtr(); // this oddity is here instead of an extern declaration to easily be able to find all direct accesses throughout the code.
|
||||
|
||||
u32 CompactCR();
|
||||
void ExpandCR(u32 cr);
|
||||
|
|
Loading…
Reference in New Issue