mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 13:44:31 +01:00
FPSCR: Make value constructor explicit (#13)
Maintains consistency between the PSR helper.
This commit is contained in:
parent
3e03524658
commit
8c4df46580
5 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ public:
|
|||
FPSCR() = default;
|
||||
FPSCR(const FPSCR&) = default;
|
||||
FPSCR(FPSCR&&) = default;
|
||||
/* implicit */ FPSCR(u32 data) : value{data} {}
|
||||
explicit FPSCR(u32 data) : value{data} {}
|
||||
|
||||
FPSCR& operator=(const FPSCR&) = default;
|
||||
FPSCR& operator=(FPSCR&&) = default;
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ struct LocationDescriptor {
|
|||
}
|
||||
|
||||
LocationDescriptor SetFPSCR(u32 new_fpscr) const {
|
||||
return LocationDescriptor(arm_pc, cpsr, new_fpscr & FPSCR_MODE_MASK);
|
||||
return LocationDescriptor(arm_pc, cpsr, Arm::FPSCR{new_fpscr & FPSCR_MODE_MASK});
|
||||
}
|
||||
|
||||
u64 UniqueHash() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue