diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-14 19:07:57 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-14 19:07:57 +0900 |
commit | 16be4100808e09a94e802adb58bc1c79e5eefd65 (patch) | |
tree | 002942b6503b7f706a6bfe9b05df538d1d97320e /libopna/opna.h | |
parent | 45e73c2aa4868a602e8120e50812e1641af342e2 (diff) |
libopna: enable register read
Diffstat (limited to 'libopna/opna.h')
-rw-r--r-- | libopna/opna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopna/opna.h b/libopna/opna.h index b5e9d87..7d7d722 100644 --- a/libopna/opna.h +++ b/libopna/opna.h @@ -41,6 +41,7 @@ struct opna { void opna_reset(struct opna *opna); void opna_writereg(struct opna *opna, unsigned reg, unsigned val); +unsigned opna_readreg(const struct opna *opna, unsigned reg); void opna_mix(struct opna *opna, int16_t *buf, unsigned samples); unsigned opna_get_mask(const struct opna *opna); void opna_set_mask(struct opna *opna, unsigned mask); |