[Scummvm-git-logs] scummvm master -> 5e04dbcc6babfa8a445918116fb9e03f3ddd1a13

athrxx athrxx at scummvm.org
Fri Mar 8 00:19:33 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5e04dbcc6b AUDIO: (FM-TOWNS/PC-98) - hopefully fix NDS port


Commit: 5e04dbcc6babfa8a445918116fb9e03f3ddd1a13
    https://github.com/scummvm/scummvm/commit/5e04dbcc6babfa8a445918116fb9e03f3ddd1a13
Author: athrxx (athrxx at scummvm.org)
Date: 2019-03-08T00:18:14+01:00

Commit Message:
AUDIO: (FM-TOWNS/PC-98) - hopefully fix NDS port

Changed paths:
    audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp


diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
index ce006b1..7cecb04 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];
 }





More information about the Scummvm-git-logs mailing list