This commit is contained in:
LTVA1 2024-08-17 13:49:56 +03:00
parent 80933510a5
commit 4e7c1773ed
2 changed files with 7 additions and 1 deletions

View file

@ -736,7 +736,7 @@ void DivPlatformSID3::tick(bool sysTick)
bool found = false; bool found = false;
int index = 0; int index = 0;
while(noiseInterestingWavesData != 0 && !found) while(noiseInterestingWavesData[index].LFSRmask != 0 && !found)
{ {
if(noiseInterestingWavesData[index].LFSRmask == chan[i].noiseLFSRMask) if(noiseInterestingWavesData[index].LFSRmask == chan[i].noiseLFSRMask)
{ {

View file

@ -5896,6 +5896,12 @@ void FurnaceGUI::drawInsSID3(DivInstrument* ins)
if (ImGui::Button(_("noise"))) { PARAMETER if (ImGui::Button(_("noise"))) { PARAMETER
ins->c64.noiseOn=!ins->c64.noiseOn; ins->c64.noiseOn=!ins->c64.noiseOn;
} }
if (ImGui::IsItemHovered())
{
ImGui::SetTooltip(_("Like in SID2, specific noise LFSR feedback bits config can produce tonal waves.\n"
"Refer to the manual for LFSR bits macro configurations for which frequency calculation is altered\n"
"in a way that makes tonal noise stay in tune."));
}
popToggleColors(); popToggleColors();
ImGui::SameLine(); ImGui::SameLine();