Skip to content

Commit

Permalink
Modified the code
Browse files Browse the repository at this point in the history
  • Loading branch information
v1bh475u committed Aug 28, 2024
1 parent 160fea2 commit 1fd6bdc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ void APU::test()
void APU::setSignalCallback()
{
if (mMap)
mMap->connectObserver([this](Word address, Byte value)
{ this->onWrite(address, value); });
mMap->connectObserver([this](Word address, Byte value){ this->onWrite(address, value); });
}

void APU::writeByte(Word address, Byte value)
Expand Down Expand Up @@ -775,4 +774,4 @@ void NoiseChannel::trigger()
{
LFSR = 0x7FFF;
enabled = dacEnabled;
}
}

0 comments on commit 1fd6bdc

Please sign in to comment.