mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2026-04-06 14:53:46 +00:00
A64: PSTATE access and tests
This commit is contained in:
parent
23f3afe0b3
commit
e8bcf72ee5
6 changed files with 86 additions and 2 deletions
|
|
@ -125,6 +125,14 @@ public:
|
|||
jit_state.SetFpcr(value);
|
||||
}
|
||||
|
||||
u32 GetPstate() const {
|
||||
return jit_state.GetPstate();
|
||||
}
|
||||
|
||||
void SetPstate(u32 value) {
|
||||
jit_state.SetPstate(value);
|
||||
}
|
||||
|
||||
bool IsExecuting() const {
|
||||
return is_executing;
|
||||
}
|
||||
|
|
@ -257,6 +265,14 @@ void Jit::SetFpcr(u32 value) {
|
|||
impl->SetFpcr(value);
|
||||
}
|
||||
|
||||
u32 Jit::GetPstate() const {
|
||||
return impl->GetPstate();
|
||||
}
|
||||
|
||||
void Jit::SetPstate(u32 value) {
|
||||
impl->SetPstate(value);
|
||||
}
|
||||
|
||||
bool Jit::IsExecuting() const {
|
||||
return impl->IsExecuting();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue