tests: Fix truncation in GetFpcr()
This commit is contained in:
parent
589ad7232f
commit
f1057aa362
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void Unicorn::SetVectors(const std::array<Vector, 32>& value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 Unicorn::GetFpcr() const {
|
u32 Unicorn::GetFpcr() const {
|
||||||
u64 fpcr;
|
u32 fpcr;
|
||||||
CHECKED(uc_reg_read(uc, UC_ARM64_REG_FPCR, &fpcr));
|
CHECKED(uc_reg_read(uc, UC_ARM64_REG_FPCR, &fpcr));
|
||||||
return fpcr;
|
return fpcr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue