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