Skip to content

Commit

Permalink
disable overclock
Browse files Browse the repository at this point in the history
see issue #246
  • Loading branch information
rdanbrook committed Oct 23, 2018
1 parent 15e8ecc commit a66a1af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/core/NstPpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,11 @@ namespace Nes

audioSafeOverclock.SetOverclockSafety(true);//overclocking is only safe if direct pcm audio has not been written for one frame
}
else
{
cpu.SetOverclocking(false,0);
audioSafeOverclock.SetOverclockSafety(false);
}

cpu.SetFrameCycles( frame );
}
Expand Down

0 comments on commit a66a1af

Please sign in to comment.