Files

21 lines
550 B
C++
Raw Permalink Normal View History

2021-03-29 00:10:25 +02:00
//
2021-03-28 22:49:05 +02:00
// Generated By: dol2asm
// Translation Unit: s_basic
2021-03-29 00:10:25 +02:00
//
2021-03-29 00:10:25 +02:00
#include "SSystem/SStandard/s_basic.h"
2021-03-29 00:10:25 +02:00
/* 80271C8C-80271CAC 0020+00 s=1 e=0 z=0 None .text sBs_FillArea_s__FPvUls */
2021-04-01 12:06:29 +02:00
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++;
}
}
2021-03-29 00:10:25 +02:00
/* 80271CAC-80271CD0 0024+00 s=0 e=2 z=0 None .text sBs_ClearArea__FPvUl */
2021-04-01 12:06:29 +02:00
void sBs_ClearArea(void* pPtr, u32 pNumBytes) {
sBs_FillArea_s(pPtr, pNumBytes, 0);
}