mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-13 13:56:49 -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
31 lines
605 B
C++
31 lines
605 B
C++
#ifndef JASTRACKPORT_H
|
|
#define JASTRACKPORT_H
|
|
|
|
#include <types.h>
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
class JASTrackPort {
|
|
public:
|
|
static const int MAX_PORTS = 16;
|
|
|
|
void init();
|
|
u16 readImport(u32);
|
|
u16 readExport(u32);
|
|
void writeImport(u32, u16);
|
|
void writeExport(u32, u16);
|
|
u32 checkImport(u32) const;
|
|
u32 checkExport(u32) const;
|
|
|
|
u16 get(u32 param_0) const { return field_0x4[param_0]; }
|
|
void set(u32 param_0, u16 param_1) { field_0x4[param_0] = param_1; }
|
|
|
|
u16 field_0x0;
|
|
u16 field_0x2;
|
|
u16 field_0x4[MAX_PORTS];
|
|
};
|
|
|
|
#endif /* JASTRACKPORT_H */
|