From 80bff7ca5dbd1c5030faa4e2104b18a6abfa225c Mon Sep 17 00:00:00 2001 From: Madeline Busig Date: Wed, 6 Mar 2024 23:49:40 -0700 Subject: [PATCH] Fix incorrect function name in fixed.hpp --- include/mtl/fixed.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mtl/fixed.hpp b/include/mtl/fixed.hpp index 000f85f..92efa59 100644 --- a/include/mtl/fixed.hpp +++ b/include/mtl/fixed.hpp @@ -7,7 +7,7 @@ * * DO NOT USE DIRECTLY! Use fixed::operator* instead */ -extern "C" int32_t fixed_mul(int32_t x, int32_t y); +extern "C" int32_t mtl_fixed_mul(int32_t x, int32_t y); namespace mtl { /** @@ -70,13 +70,13 @@ public: * Uses an assembly implementation to multiply the two numbers. * Not as quick as an integer multiplication. Use sparringly. * - * Tested on the MGBA Gameboy Advance emulator, takes around 90 + * Tested on the MGBA Gameboy Advance emulator, takes around 70 * cycles when the assembly routine is placed in IWRAM. * The Gameboy Advance uses an armv7tdmi, and IWRAM is the fastest * available RAM. */ fixed operator*(fixed rhs) const { - return fixed(fixed_mul(x, rhs.x), true); + return fixed(mtl_fixed_mul(x, rhs.x), true); } };