Change GetStatePtr() Return to const
This commit is contained in:
1 parent
54eb8c09f9
commit
3140f9b226
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user