mirror of
https://github.com/pret/pokestadium.git
synced 2026-09-29 13:27:29 -05:00
decompile Libleo main api
decomp ReadDiskID decomp ReadWrite add symbol addresses decompile LeoSetRTC decompile LeoReadRTC decompile LeoSeek decompile LeoTestUnitReady decompile LeoDriveExist decomp LBA <-> Byte decompile LeoSetRTC
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
extern void func_80057FD0(void *, int);
|
||||
extern s32 func_8005A990(OSPiHandle *);
|
||||
|
||||
// bcopy.s
|
||||
extern void _bcopy(void *, void *, u32);
|
||||
|
||||
// 3A80.s
|
||||
extern void func_80002F58(void);
|
||||
extern void *func_80002FDC(s32);
|
||||
@@ -51,7 +54,4 @@ extern void func_8002B274(s32, s32);
|
||||
// exception_set.s
|
||||
extern void set_watch_lohi(s32);
|
||||
|
||||
// readwrite.s
|
||||
extern void func_80050FC0(void *, s32, s32, void *, s32, OSMesgQueue *);
|
||||
|
||||
#endif
|
||||
|
||||
17
include/libleo/internal.h
Normal file
17
include/libleo/internal.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef LIBLEO_INTERNAL_H
|
||||
#define LIBLEO_INTERNAL_H
|
||||
|
||||
/* libleo conversion tables */
|
||||
extern const u8 LEOBYTE_TBL1[];
|
||||
extern const u16 LEOBYTE_TBL2[];
|
||||
extern const u16 LEOVZONE_TBL[][0x10];
|
||||
extern const u16 LEOZONE_SCYL_TBL[];
|
||||
extern const u8 LEOVZONE_PZONEHD_TBL[][0x10];
|
||||
extern const u16 LEOZONE_OUTERCYL_TBL[];
|
||||
extern const u16 LEORAM_START_LBA[];
|
||||
extern const s32 LEORAM_BYTE[];
|
||||
|
||||
extern s32 __leoActive;
|
||||
extern s32 leoVerifyRTC(u8 yearhi, u8 yearlo);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user