sub_80E6CA0

This commit is contained in:
PikalaxALT
2017-11-03 21:56:18 -04:00
parent ca2bc94c2b
commit f8486b31c5
8 changed files with 49 additions and 71 deletions

View File

@@ -7,5 +7,6 @@
#include "gba/multiboot.h"
#include "gba/syscall.h"
#include "gba/macro.h"
#include "gba/libc.h"
#endif // GUARD_GBA_GBA_H

10
include/gba/libc.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef GUARD_LIBC_H
#define GUARD_LIBC_H
void *memset(void *dst, int val, size_t size);
void *memcpy(void *dst, const void *src, size_t size);
int strcmp(const char *s1, const char *s2);
char *strcpy(char *dst0, const char *src0);
#define abs(x) ((x) >= 0 ? (x) : -(x))
#endif //GUARD_LIBC_H