diff options
author | athrxx | 2019-03-08 00:17:49 +0100 |
---|---|---|
committer | athrxx | 2019-03-08 00:18:14 +0100 |
commit | 5e04dbcc6babfa8a445918116fb9e03f3ddd1a13 (patch) | |
tree | 944a0da62f4dc93fac99be254d41b806ac6633e0 /audio | |
parent | 8d4418fa365511e8d598823e4369cdc10f87f6b8 (diff) | |
download | scummvm-rg350-5e04dbcc6babfa8a445918116fb9e03f3ddd1a13.tar.gz scummvm-rg350-5e04dbcc6babfa8a445918116fb9e03f3ddd1a13.tar.bz2 scummvm-rg350-5e04dbcc6babfa8a445918116fb9e03f3ddd1a13.zip |
AUDIO: (FM-TOWNS/PC-98) - hopefully fix NDS port
Diffstat (limited to 'audio')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp index ce006b165c..7cecb0416d 100644 --- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp @@ -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]; } |