[headers 12] Add kaleido_manager.h, move various protos to headers (#2174)

* [headers 12] add kaleido_manager.h, move various protos to headers

* BSS

* bss
This commit is contained in:
Dragorn421
2024-09-11 10:17:47 +02:00
committed by GitHub
parent 5441559b30
commit cbf9eacf42
12 changed files with 66 additions and 50 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ s16 sLightningFlashAlpha;
s16 sSunDepthTestX;
s16 sSunDepthTestY;
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:96 gc-jp-ce:96 gc-jp-mq:96 gc-us:96 gc-us-mq:96"
#pragma increment_block_number "gc-eu:112 gc-eu-mq:112 gc-jp:96 gc-jp-ce:96 gc-jp-mq:96 gc-us:96 gc-us-mq:96"
LightNode* sNGameOverLightNode;
LightInfo sNGameOverLightInfo;
+3 -3
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "string.h"
/**
* memmove: copies `len` bytes from memory starting at `src` to memory starting at `dest`.
@@ -12,8 +12,8 @@
* @return dest
*/
void* memmove(void* dest, const void* src, size_t len) {
u8* d = dest;
const u8* s = src;
char* d = dest;
const char* s = src;
if (d == s) {
return dest;
+2 -2
View File
@@ -1,4 +1,4 @@
#include "global.h"
#include "string.h"
/**
* memset: sets `len` bytes to `val` starting at address `dest`.
@@ -12,7 +12,7 @@
* @return dest
*/
void* memset(void* dest, int val, size_t len) {
u8* ptr = dest;
char* ptr = dest;
while (len--) {
*ptr++ = val;
+1 -1
View File
@@ -15,7 +15,7 @@
#include "cic6105.h"
#endif
#pragma increment_block_number "gc-eu:140 gc-eu-mq:140 gc-jp:142 gc-jp-ce:142 gc-jp-mq:142 gc-us:142 gc-us-mq:142"
#pragma increment_block_number "gc-eu:139 gc-eu-mq:139 gc-jp:141 gc-jp-ce:141 gc-jp-mq:141 gc-us:141 gc-us-mq:141"
#define FLAGS ACTOR_FLAG_4