aboutsummaryrefslogtreecommitdiff
path: root/libopna/opnatables.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-07-11 22:19:49 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-07-11 22:19:49 +0900
commit5fac17c7f0531236c32160a72147a9bf7dbec434 (patch)
treef52361f9c07969848f05cdddc01420b562faaf54 /libopna/opnatables.h
parent5eeba166f080de01ab95e4365bfd36ab8454ab04 (diff)
libopna: partially bit perfect with actual opna chip
Diffstat (limited to 'libopna/opnatables.h')
-rw-r--r--libopna/opnatables.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/libopna/opnatables.h b/libopna/opnatables.h
index 30140bf..825e390 100644
--- a/libopna/opnatables.h
+++ b/libopna/opnatables.h
@@ -208,10 +208,15 @@ static const uint16_t exptable[EXPTABLELEN] = {
static const uint8_t rateinctable[4*2][8] = {
// rates 0 - 47
- {0, 1, 0, 1, 0, 1, 0, 1},
- {0, 1, 0, 1, 1, 1, 0, 1},
- {0, 1, 1, 1, 0, 1, 1, 1},
- {0, 1, 1, 1, 1, 1, 1, 1},
+// TODO: not bit perfect
+// {0, 1, 0, 1, 0, 1, 0, 1},
+// {0, 1, 0, 1, 1, 1, 0, 1},
+// {0, 1, 1, 1, 0, 1, 1, 1},
+// {0, 1, 1, 1, 1, 1, 1, 1},
+ {1, 0, 1, 0, 1, 0, 1, 0},
+ {1, 0, 1, 0, 1, 1, 1, 0},
+ {1, 0, 1, 1, 1, 0, 1, 1},
+ {1, 0, 1, 1, 1, 1, 1, 1},
// rates 48 -
{1, 1, 1, 1, 1, 1, 1, 1},