mirror of https://github.com/zeldaret/tp.git
29 lines
568 B
C++
29 lines
568 B
C++
#ifndef JASTRACKPORT_H
|
|
#define JASTRACKPORT_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
class JASTrackPort {
|
|
public:
|
|
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[16];
|
|
};
|
|
|
|
#endif /* JASTRACKPORT_H */
|