mirror of
https://github.com/zeldaret/oot
synced 2026-06-26 02:14:31 -04:00
[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:
+1
-1
@@ -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
@@ -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
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user