aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorathrxx2019-03-08 00:33:36 +0100
committerathrxx2019-03-08 00:33:36 +0100
commitb388f6d45427de4ea46094010300e60ecfe62899 (patch)
tree1a2f6fe7824f748b0833c041e2dcc15dc0c1ff51 /audio
parent5e04dbcc6babfa8a445918116fb9e03f3ddd1a13 (diff)
downloadscummvm-rg350-b388f6d45427de4ea46094010300e60ecfe62899.tar.gz
scummvm-rg350-b388f6d45427de4ea46094010300e60ecfe62899.tar.bz2
scummvm-rg350-b388f6d45427de4ea46094010300e60ecfe62899.zip
AUDIO: (FM-TOWNS/PC-98) - really fix NDS port build
Diffstat (limited to 'audio')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
index 7cecb0416d..2cbaad3471 100644
--- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
@@ -1259,10 +1259,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
+ else if ((regAddress & 0xF0) == 0x10)
return 0;
#else
+ else if ((regAddress & 0xF0) == 0x10 && _prc)
return _prc->readReg(regAddress & 0x0F);
#endif