mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-01 15:26:01 +00:00
Changes
This commit is contained in:
parent
a01f868a1a
commit
8a74686890
2 changed files with 4 additions and 3 deletions
|
@ -846,7 +846,7 @@ void func_800775D8();
|
||||||
s32 func_800775E4();
|
s32 func_800775E4();
|
||||||
void func_800775F0(u16);
|
void func_800775F0(u16);
|
||||||
// ? func_80077600(?);
|
// ? func_80077600(?);
|
||||||
void Lib_MemSet(u8 dest[], size_t size, u8 val);
|
void Lib_MemSet(u8* dest, size_t size, u8 val);
|
||||||
f32 Math_Coss(s16 angle);
|
f32 Math_Coss(s16 angle);
|
||||||
f32 Math_Sins(s16 angle);
|
f32 Math_Sins(s16 angle);
|
||||||
s32 Math_ApproxUpdateScaledS(s16* fp, s16 target, s16 step);
|
s32 Math_ApproxUpdateScaledS(s16* fp, s16 target, s16 step);
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#include <ultra64.h>
|
#include <ultra64.h>
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
|
|
||||||
void Lib_MemSet(u8 dest[], size_t size, u8 val)
|
void Lib_MemSet(u8* dest, size_t size, u8 val)
|
||||||
{
|
{
|
||||||
size_t i = 0;
|
u32 i = 0;
|
||||||
|
|
||||||
|
// TODO: Convert this to while/for if possible
|
||||||
if (i == size) return;
|
if (i == size) return;
|
||||||
do {
|
do {
|
||||||
*dest++ = val;
|
*dest++ = val;
|
||||||
|
|
Loading…
Reference in a new issue