mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 03:44:34 +00:00
Decompile 2 small files (code_8006BA00.c and code_8006C3A0.c) (#101)
* Decompile code_8006C3A0.c (handling "env" flags) * Decompile code_8006BA00.c (handling sound sources)
This commit is contained in:
parent
d0ba37b148
commit
4932e93ba2
31 changed files with 143 additions and 296 deletions
|
@ -2,16 +2,11 @@
|
|||
#include <global.h>
|
||||
|
||||
void Lib_MemSet(u8* dest, size_t size, u8 val) {
|
||||
u32 i = 0;
|
||||
u32 i;
|
||||
|
||||
// TODO: Convert this to while/for if possible
|
||||
if (i == size) {
|
||||
return;
|
||||
}
|
||||
do {
|
||||
*dest++ = val;
|
||||
i++;
|
||||
} while (i != size);
|
||||
// clang-format off
|
||||
for (i = 0; i < size; i++) { *dest++ = val; }
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
f32 Math_Coss(s16 angle) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue