Fix initialization of file_reserved in RYFS

This commit is contained in:
mebibytedraco 2023-11-30 00:59:25 -05:00
parent 1cc0a0def6
commit d5c36f0061

View File

@ -61,7 +61,7 @@ ryfs_open_found_dir_entry:
mov.16 [r10], [r1] ; write file_first_sector mov.16 [r10], [r1] ; write file_first_sector
add r10, 2 add r10, 2
mov [r10], 0 ; write file_seek_offset mov [r10], 0 ; write file_seek_offset
inc r10 inc r10, 4
mov.8 [r10], 0 ; write file_reserved mov.8 [r10], 0 ; write file_reserved
movz.16 r0, [r1] movz.16 r0, [r1]
ryfs_open_end: ryfs_open_end: