Fix incorrect attribute placement on fixed::operator/
Function attributes should be placed in the function declaration, not definition.
This commit is contained in:
parent
61e963e525
commit
82d6d64829
@ -149,7 +149,7 @@ public:
|
||||
*
|
||||
* Placed in IWRAM
|
||||
*/
|
||||
fixed operator/(fixed rhs) const;
|
||||
GBA_IWRAM fixed operator/(fixed rhs) const;
|
||||
fixed& operator/=(fixed rhs) {
|
||||
*this = *this / rhs;
|
||||
return *this;
|
||||
|
||||
@ -6,7 +6,7 @@ TARGET_ARM_MODE
|
||||
|
||||
namespace mtl {
|
||||
|
||||
GBA_IWRAM fixed fixed::operator/(fixed rhs) const {
|
||||
fixed fixed::operator/(fixed rhs) const {
|
||||
int32_t raw_result;
|
||||
asm(
|
||||
// This division implementation has two methods it can use.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user