mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-12 03:17:39 -04:00
9649319ec4
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
27 lines
470 B
C
27 lines
470 B
C
#ifndef _DOLPHIN_AM_H_
|
|
#define _DOLPHIN_AM_H_
|
|
|
|
#include <dolphin/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*AMCallback)(char* path);
|
|
|
|
void* AMLoadFile(char* path, u32* length);
|
|
u32 AMPush(char* path);
|
|
u32 AMPushData(void* buffer, u32 length);
|
|
void AMPop(void);
|
|
u32 AMGetZeroBuffer(void);
|
|
u32 AMGetReadStatus(void);
|
|
u32 AMGetFreeSize(void);
|
|
u32 AMGetStackPointer(void);
|
|
void AMInit(u32 aramBase, u32 aramBytes);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|