felipecsl/ktnes

Stabilize CPU clock speed

Closed this issue · 1 comments

The console clock will run as fast or as slow as the device/environment that's running it can go.
This is especially problematic on Android where performance can vary drastically so on high end devices could run so fast that makes it actually unplayable.
We should automatically adjust the iteration speed so that it's closest to the actual NES clock.

Right now it's pretty much unplayable on a Pixel 3 because it runs too fast. Need to address this asap