blob: 7a729798c4effb3bfe4e9f5ee7ba9069529cf49c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}
|