mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Change GetStatePtr() Return to const
This commit is contained in:
@ -225,7 +225,7 @@ CPUState GetState()
|
|||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
volatile CPUState *GetStatePtr()
|
const volatile CPUState *GetStatePtr()
|
||||||
{
|
{
|
||||||
return &state;
|
return &state;
|
||||||
}
|
}
|
||||||
|
@ -160,7 +160,7 @@ void Pause();
|
|||||||
void Stop();
|
void Stop();
|
||||||
void FinishStateMove();
|
void FinishStateMove();
|
||||||
CPUState GetState();
|
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();
|
u32 CompactCR();
|
||||||
void ExpandCR(u32 cr);
|
void ExpandCR(u32 cr);
|
||||||
|
Reference in New Issue
Block a user