summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/okim6376.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-06-05 22:35:20 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-06-05 22:35:20 +0000
commita449c766a220e5edcfc5aeb03730813a929a7c8a (patch)
tree5b6a67fa3ffcc07fb2276420fffe6111679e29e8 /src/emu/sound/okim6376.c
parent910fff0955cf27aa904843c130ede859231642b8 (diff)
Cleanups and version bumpmame0142u5
Diffstat (limited to 'src/emu/sound/okim6376.c')
-rw-r--r--src/emu/sound/okim6376.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/sound/okim6376.c b/src/emu/sound/okim6376.c
index d974df20812..7cb547aa843 100644
--- a/src/emu/sound/okim6376.c
+++ b/src/emu/sound/okim6376.c
@@ -303,7 +303,7 @@ static void oki_process(device_t *device, int channel, int command)
{
okim6376_state *info = get_safe_token(device);
- /* if a command is pending, process the second half */
+ /* if a command is pending, process the second half */
if ((command != -1) && (command != 0)) //process silence separately
{
int start;
@@ -488,7 +488,7 @@ WRITE_LINE_DEVICE_HANDLER( okim6376_ch2_w )
{
okim6376_state *info = get_safe_token(device);
- if (info->ch2 != state)
+ if (info->ch2 != state)
{
info->ch2 = state;
info->ch2_update = 1;
@@ -516,7 +516,7 @@ WRITE_LINE_DEVICE_HANDLER( okim6376_st_w )
okim6376_state *info = get_safe_token(device);
- if (info->st != state)
+ if (info->st != state)
{
info->st = state;
@@ -525,8 +525,8 @@ WRITE_LINE_DEVICE_HANDLER( okim6376_st_w )
if ((info->channel == 1) & !info->st)//ST acts as attenuation for Channel 2 when low, and stays at that level until the channel is reset
{
struct ADPCMVoice *voice = &info->voice[info->channel];
- {
-
+ {
+
info->st_pulses ++;
if (info->st_pulses > 3)
{