mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-11 04:37:55 -04:00
4df8ccc871
* 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
41 lines
782 B
C
41 lines
782 B
C
#include <dolphin/dolphin.h>
|
|
#include <dolphin/ax.h>
|
|
|
|
#include "__ax.h"
|
|
|
|
#if DEBUG
|
|
const char* __AXVersion = "<< Dolphin SDK - AX\tdebug build: Apr 5 2004 03:56:21 (0x2301) >>";
|
|
#else
|
|
const char* __AXVersion = "<< Dolphin SDK - AX\trelease build: Apr 5 2004 04:15:05 (0x2301) >>";
|
|
#endif
|
|
|
|
void AXInit(void) {
|
|
AXInitEx(0);
|
|
}
|
|
|
|
void AXInitEx(u32 outputBufferMode) {
|
|
#if DEBUG
|
|
OSReport("Initializing AX\n");
|
|
#endif
|
|
OSRegisterVersion(__AXVersion);
|
|
|
|
__AXAllocInit();
|
|
__AXVPBInit();
|
|
__AXSPBInit();
|
|
__AXAuxInit();
|
|
__AXClInit();
|
|
__AXOutInit(outputBufferMode);
|
|
}
|
|
|
|
void AXQuit(void) {
|
|
#if DEBUG
|
|
OSReport("Shutting down AX\n");
|
|
#endif
|
|
__AXAllocQuit();
|
|
__AXVPBQuit();
|
|
__AXSPBQuit();
|
|
__AXAuxQuit();
|
|
__AXClQuit();
|
|
__AXOutQuit();
|
|
}
|