Fix incorrect fixed point division result
Division was not returning the result as raw.
This commit is contained in:
parent
739437753c
commit
d681363a7b
@ -51,7 +51,7 @@ GBA_IWRAM fixed fixed::operator/(fixed rhs) const {
|
||||
[d] "r" (rhs.x)
|
||||
: "r0", "r1", "r2", "r3"
|
||||
);
|
||||
return raw_result;
|
||||
return from_raw(raw_result);
|
||||
}
|
||||
|
||||
} // namespace mtl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user