From 0edf165401f9103fe7dc12fce4425315523b4403 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 14 Mar 2016 22:52:16 -0400 Subject: [PATCH] Fixed sound pitch, though I'm not yet exactly sure why. --- Machines/Electron/Electron.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Electron/Electron.cpp b/Machines/Electron/Electron.cpp index b2b56b9bc..3754011df 100644 --- a/Machines/Electron/Electron.cpp +++ b/Machines/Electron/Electron.cpp @@ -802,7 +802,7 @@ void Speaker::skip_samples(unsigned int number_of_samples) while(number_of_samples--) { _counter ++; - if(_counter > _divider) + if(_counter > _divider*2) { _counter = 0; _output_level ^= 8192;