Skip to content

Commit

Permalink
Fix the TFI detune map
Browse files Browse the repository at this point in the history
By mistake, the order of negative values was inverted.

The discussion: BambooTracker/BambooTracker#88
  • Loading branch information
Wohlstand authored Mar 27, 2019
1 parent ef7b00f commit 496a615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FileFormats/format_tfi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ bool TFI_MM::detectInst(const QString &filePath, char * /*magic*/)

static uint8_t opn1_to_opn2[7]
{
5, 6, 7, 0, 1, 2, 3
7, 6, 5, 0, 1, 2, 3
};

static uint8_t opn2_to_opn1[8]
{
3, 4, 5, 6, 3, 0, 1, 2
3, 4, 5, 6, 3, 2, 1, 0
};

static uint8_t detuneToOPN2(uint8_t d)
Expand Down

0 comments on commit 496a615

Please sign in to comment.