mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 06:48:52 -05:00
Honor maxlen argument when receiving gamecube data
This commit is contained in:
parent
fd3e770fdf
commit
07a53bee3a
@ -84,7 +84,8 @@ waitlow_lp:
|
|||||||
|
|
||||||
store_byte:
|
store_byte:
|
||||||
inc r24 ; Count byte
|
inc r24 ; Count byte
|
||||||
breq overflow ; TODO : Check against r22
|
cp r22, r24
|
||||||
|
breq overflow
|
||||||
st z+,r20
|
st z+,r20
|
||||||
ldi r20, 1
|
ldi r20, 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user