Fix incorrect fixed point division result

Division was not returning the result as raw.
This commit is contained in:
Madeline Busig 2024-08-02 23:26:24 -06:00
parent 8d23f2cf09
commit d0557bad3e

View File

@ -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