Skip to content

Commit

Permalink
sn76489: don't reset counter on pitch changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hexwab committed Sep 17, 2018
1 parent d5bce6b commit ef596ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/beeb/src/SN76489.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ void SN76489::Write(uint8_t value) {
// data
channel->freq&=~0xf;
channel->freq|=v;

channel->counter=channel->freq;
}
} else {
Channel *channel=&m_state.channels[m_state.reg>>1];
Expand All @@ -134,8 +132,6 @@ void SN76489::Write(uint8_t value) {
// tone data
channel->freq&=0xf;
channel->freq|=v<<4;

channel->counter=channel->freq;
}
}
}
Expand Down

0 comments on commit ef596ea

Please sign in to comment.