avr: fixed a critical bug (don't decrement used bytes on peek!)

This commit is contained in:
Martin Preuss
2025-03-22 12:59:35 +01:00
parent 373a553ac8
commit 236f6832a3

View File

@@ -111,8 +111,6 @@ l_end:
tst r17
clc
breq l_end
dec r17
std Y+@1, r17 ; usedBytes
ldd r17, Y+@2 ; readPos
mov xl, yl
mov xh, yh