You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am only using mq debug so I didn't check other linker scripts but it would be a good idea to do so.
standard memset
(man memset): void *memset(void *s, int c, size_t n);
fills the first n bytes of the memory area pointed to by s with the constant byte c.
oot memset
there are two implementations: void Lib_MemSet(u8* dest, size_t size, u8 val); (unlike the standard) void* MemSet(void* dest, s32 val, s32 size); (like the standard)
I am only using mq debug so I didn't check other linker scripts but it would be a good idea to do so.
standard
memset
(
man memset
):void *memset(void *s, int c, size_t n);
oot memset
there are two implementations:
void Lib_MemSet(u8* dest, size_t size, u8 val);
(unlike the standard)void* MemSet(void* dest, s32 val, s32 size);
(like the standard)in z64hdr
https://github.com/turpaan64/z64hdr/blob/ba7ce14e23c342a6336bb93a22d24e3ee0485d61/oot_mq_debug/syms.ld#L787-L788
https://github.com/turpaan64/z64hdr/blob/ba7ce14e23c342a6336bb93a22d24e3ee0485d61/oot_mq_debug/syms.ld#L2842
the addresses are accurate, but
memset = Lib_MemSet
is an issue since they use a different prototypememset = MemSet
would be better?But I'm not sure why
memset
is even defined in the first placeThe text was updated successfully, but these errors were encountered: