Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NES core missing sounds in Super Mario Bros 3 #42
The issue is here:
wire ValidFreq = Period[10:3] >= 8 && (SweepNegate || !NewSweepPeriod);
It should be:
wire ValidFreq = (|Period[10:3]) && (SweepNegate || !NewSweepPeriod);
The test is for Period >= 8, but the code is accidently, effectively testing for Period>=64.