Skip to content

Commit

Permalink
DARKSEED: Fix large note value behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
NMIError committed Feb 24, 2025
1 parent 64e478f commit 0093059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/darkseed/adlib_dsf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ uint8 MidiDriver_DarkSeedFloppy_AdLib::allocateOplChannel(uint8 channel, uint8 s
}

uint16 MidiDriver_DarkSeedFloppy_AdLib::calculateFrequency(uint8 channel, uint8 source, uint8 note) {
uint8 octaveNote = ((note >= 120) ? 0x7B : (note % 12));
uint8 octaveNote = ((note >= 120) ? 11 : (note % 12));
uint8 block;
if (note < 12) {
block = 0;
Expand Down

0 comments on commit 0093059

Please sign in to comment.