Merge pull request #11 from mebibytedraco/ryfs-reserved-init-fix

Fix initialization of file_reserved in RYFS
This commit is contained in:
Ry 2023-11-29 22:01:30 -08:00 committed by GitHub
commit 13a2083bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: