Import project

Original repository: https://github.com/encounter/ww
This commit is contained in:
Luke Street
2023-09-10 00:42:26 -04:00
parent 81ac53f131
commit adb95b135c
3731 changed files with 481532 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
//
// Generated by dtk
// Translation Unit: s_basic.cpp
//
#include "SSystem/SStandard/s_basic.h"
#include "dolphin/types.h"
/* 80254D8C-80254DAC .text sBs_FillArea_s__FPvUls */
void sBs_FillArea_s(void* pPtr, u32 pNumBytes, s16 pValue) {
s16* castPtr = (s16*)pPtr;
for (int i = 0; i < pNumBytes / 2; i++) {
*castPtr = pValue;
castPtr++;
}
}
/* 80254DAC-80254DD0 .text sBs_ClearArea__FPvUl */
void sBs_ClearArea(void* pPtr, u32 pNumBytes) {
sBs_FillArea_s(pPtr, pNumBytes, 0);
}