From 7e54fd660619d128e7aae08b175d57bdf2326ee0 Mon Sep 17 00:00:00 2001 From: Filipe Rodrigues Date: Sun, 5 Feb 2023 22:26:30 +0000 Subject: [PATCH] Fixed function notations in `f0` and `f1`. --- asm/dw2003/exe/f0.s | 4 ++-- asm/dw2003/exe/f1.s | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/asm/dw2003/exe/f0.s b/asm/dw2003/exe/f0.s index 6aa658450..7830fdbf9 100644 --- a/asm/dw2003/exe/f0.s +++ b/asm/dw2003/exe/f0.s @@ -1,14 +1,14 @@ .include "macros.s" # Returns the pointer to the current digimon stat -# `fn f0(u32 value) -> *u32` +# `fn f0(value: u32) -> *u32` .section "section_f0" .global f0 f0: addiu $sp, -24 sw $ra, 16($sp) -# If the return from `u32 idx = f1()` is negative, return 0 +# If the return from `idx = f1()` is negative, return 0 jal f1 nop move_ $v1, $v0 diff --git a/asm/dw2003/exe/f1.s b/asm/dw2003/exe/f1.s index 5ff9cc7cc..bf1cf14b0 100644 --- a/asm/dw2003/exe/f1.s +++ b/asm/dw2003/exe/f1.s @@ -1,7 +1,7 @@ .include "macros.s" # Returns the digimon stat index of the first digimon with `value0 = value` -# `fn f1(u32 value) -> u32` +# `fn f1(value: u32) -> i32` .section "section_f1" .global f1 f1: