- Push de rigor
This commit is contained in:
1 parent
c6b6830c5c
commit
4a9b13126b
2 files changed
+4
-1
No files matched your search
@@ -57,6 +57,9 @@ namespace zx_ula
|
||||
static uint8_t ear = 0;
|
||||
static uint8_t mic = 0;
|
||||
|
||||
// this variable keeps track of the last "1" written to the sound buffer, so when streaming it in the audio callback, if there
|
||||
// are only zeros remaining in the buffer, we just discard it. It's a poor man's method of keeping the buffer size in control.
|
||||
// This is useless when there are music, sounds, tape loading, etc... as 1's and 0's keep alternating
|
||||
static uint16_t last_1 = 0;
|
||||
|
||||
void update_zx_keyboard()
|
||||
|
||||
Reference in new issue
Block a user