diff --git a/src/engine/platform/ay.cpp b/src/engine/platform/ay.cpp index 11ce83389..f7caf09a8 100644 --- a/src/engine/platform/ay.cpp +++ b/src/engine/platform/ay.cpp @@ -327,9 +327,9 @@ void DivPlatformAY8910::acquire(short** buf, size_t len) { void DivPlatformAY8910::fillStream(std::vector& stream, int sRate, size_t len) { writes.clear(); - int rate=(int)(chipClock/sRate); + int hrate=(int)(rate/sRate); for (size_t i=0; i