Fix incorrect attribute placement on fixed::operator/

Function attributes should be placed in the function declaration, not
definition.
This commit is contained in:
Myles Busig 2024-08-03 16:15:17 -06:00
parent 61e963e525
commit 82d6d64829
2 changed files with 2 additions and 2 deletions

View File

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

View File

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