Skip to content

Commit

Permalink
AUDIO: (FM-TOWNS/PC-98) - hopefully fix NDS port
Browse files Browse the repository at this point in the history
  • Loading branch information
athrxx committed Mar 7, 2019
1 parent 8d4418f commit 5e04dbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
Expand Up @@ -1260,7 +1260,11 @@ uint8 TownsPC98_FmSynth::readReg(uint8 part, uint8 regAddress) {
if (!(regAddress & 0xF0) && _ssg)
return _ssg->readReg(regAddress & 0x0F);
else if ((regAddress & 0xF0) == 0x10 && _prc)
#ifdef DISABLE_PC98_RHYTHM_CHANNEL
return 0;
#else
return _prc->readReg(regAddress & 0x0F);
#endif

return _registers[regAddress][part];
}
Expand Down

0 comments on commit 5e04dbc

Please sign in to comment.