mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-28 19:25:27 +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();
|
||||
void func_800775F0(u16);
|
||||
// ? 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_Sins(s16 angle);
|
||||
s32 Math_ApproxUpdateScaledS(s16* fp, s16 target, s16 step);
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include <ultra64.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;
|
||||
do {
|
||||
*dest++ = val;
|
||||
|
|
Loading…
Reference in a new issue