summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/sid.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 17:35:04 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 17:35:04 +0200
commit1446bd7ecddab41b0a0bdf2e933cfc0fd52e3bdd (patch)
treedcac85b6b0db88a047796ac3898a9277fa55da5a /src/devices/sound/sid.cpp
parenta6bdefec8c76e9878b634119c56438a7673b0385 (diff)
converted lot of TRUE/FALSE to real boolean and updated types (nw)
Diffstat (limited to 'src/devices/sound/sid.cpp')
-rw-r--r--src/devices/sound/sid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/sid.cpp b/src/devices/sound/sid.cpp
index 0f36c54e179..d39bc0ed037 100644
--- a/src/devices/sound/sid.cpp
+++ b/src/devices/sound/sid.cpp
@@ -147,7 +147,7 @@ int sidEmuReset(SID6581_t *This)
sidEmuSet2( &This->optr2 );
sidEmuSet2( &This->optr3 );
- return TRUE;
+ return true;
}
@@ -233,14 +233,14 @@ void sid6581_init (SID6581_t *This)
This->PCMsid = (uint32_t)(This->PCMfreq * (16777216.0 / This->clock));
This->PCMsidNoise = (uint32_t)((This->clock*256.0)/This->PCMfreq);
- This->filter.Enabled = TRUE;
+ This->filter.Enabled = true;
sidInitMixerEngine(This->device->machine());
filterTableInit(This->device->machine());
sidInitWaveformTables(This->type);
- enveEmuInit(This->PCMfreq, TRUE);
+ enveEmuInit(This->PCMfreq, true);
MixerInit(0);