prepare for custom chip clock rates

This commit is contained in:
tildearrow 2022-12-03 04:24:08 -05:00
parent ae86cd420d
commit b647d17b12
2 changed files with 20 additions and 0 deletions

View file

@ -453,6 +453,18 @@ class DivDispatch {
*/
virtual bool getWantPreNote();
/**
* get minimum chip clock.
* @return clock in Hz, or 0 if custom clocks are not supported.
*/
virtual unsigned int getClockRangeMin();
/**
* get maximum chip clock.
* @return clock in Hz, or 0 if custom clocks are not supported.
*/
virtual unsigned int getClockRangeMax();
/**
* set the chip flags.
* @param flags a DivConfig containing chip flags.

View file

@ -97,6 +97,14 @@ bool DivDispatch::getWantPreNote() {
return false;
}
unsigned int DivDispatch::getClockRangeMin() {
return 0;
}
unsigned int DivDispatch::getClockRangeMax() {
return 0;
}
void DivDispatch::setFlags(const DivConfig& flags) {
}