sub_80E6CA0
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
#define GUARD_BATTLE_TOWER_H
|
||||
|
||||
u16 sub_8164FCC(u8, u8);
|
||||
void sub_81659DC(void *a0, void *a1);
|
||||
|
||||
#endif //GUARD_BATTLE_TOWER_H
|
||||
|
||||
@@ -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
10
include/gba/libc.h
Normal 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
|
||||
@@ -11,13 +11,6 @@
|
||||
#define asm_comment(x) asm volatile("@ -- " x " -- ")
|
||||
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
|
||||
|
||||
#if defined (__APPLE__) || defined (__CYGWIN__)
|
||||
void *memset(void *, int, size_t);
|
||||
void *memcpy(void *, const void *, size_t);
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
char* strcpy(char *dst0, const char *src0);
|
||||
#endif // __APPLE__
|
||||
|
||||
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
|
||||
|
||||
// useful math macros
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
u32 RunMysteryEventScript(u8 *);
|
||||
void SetMysteryEventScriptStatus(u32 val);
|
||||
u16 GetRecordMixingGift(void);
|
||||
u16 sub_81539D4(void);
|
||||
|
||||
#endif // GUARD_MYSTERY_EVENT_SCRIPT_H
|
||||
|
||||
Reference in New Issue
Block a user