diff --git a/src/engine/dispatch.h b/src/engine/dispatch.h index 4ea92e10..37a001b2 100644 --- a/src/engine/dispatch.h +++ b/src/engine/dispatch.h @@ -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. diff --git a/src/engine/platform/abstract.cpp b/src/engine/platform/abstract.cpp index 33dd3c17..8ee1d45a 100644 --- a/src/engine/platform/abstract.cpp +++ b/src/engine/platform/abstract.cpp @@ -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) { }