aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98/pc98_audio.cpp
diff options
context:
space:
mode:
authorathrxx2019-03-20 21:48:26 +0100
committerathrxx2019-03-22 21:03:54 +0100
commit1cfa6c087a88eb795dc0ae46cbeb5a578318a317 (patch)
treefe8bf6b8dbc7d47f8b24edf0277410c5c839c047 /audio/softsynth/fmtowns_pc98/pc98_audio.cpp
parent73678257b95f49319f7789943e4a8b1855e18c8b (diff)
downloadscummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.tar.gz
scummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.tar.bz2
scummvm-rg350-1cfa6c087a88eb795dc0ae46cbeb5a578318a317.zip
AUDIO: (FM-TOWNS/PC-98) - silence some compiler warnings
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/pc98_audio.cpp')
-rw-r--r--audio/softsynth/fmtowns_pc98/pc98_audio.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/softsynth/fmtowns_pc98/pc98_audio.cpp b/audio/softsynth/fmtowns_pc98/pc98_audio.cpp
index d6c6fc94e3..3ad100911a 100644
--- a/audio/softsynth/fmtowns_pc98/pc98_audio.cpp
+++ b/audio/softsynth/fmtowns_pc98/pc98_audio.cpp
@@ -61,8 +61,6 @@ private:
const uint16 _port1, _port2, _port3, _port4;
uint8 _address[2];
- uint16 _frequency;
-
PC98AudioPluginDriver *_drv;
void *_drvOwner;
bool _ready;
@@ -77,8 +75,8 @@ PC98AudioCoreInternal::PC98AudioCoreInternal(Audio::Mixer *mixer, PC98AudioCore
_musicVolume(Audio::Mixer::kMaxMixerVolume), _sfxVolume(Audio::Mixer::kMaxMixerVolume),
_port1(type == PC98AudioPluginDriver::kTypeTowns ? 0x4D8 : 0x188), _port2(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DA : 0x18A),
_port3(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DC : 0x18C), _port4(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DE : 0x18E),
- _frequency(0), _ready(false) {
- _address[0] = _address[1] = 0xFF;
+ _ready(false) {
+ _address[0] = _address[1] = 0xFF;
}
PC98AudioCoreInternal::~PC98AudioCoreInternal() {
@@ -287,4 +285,4 @@ PC98AudioCore::MutexLock::MutexLock(PC98AudioCoreInternal *pc98int) : _pc98int(p
PC98AudioCore::MutexLock::~MutexLock() {
if (_pc98int)
_pc98int->mutex().unlock();
-} \ No newline at end of file
+}