mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
a6e76c0841
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
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 */
|