mirror of
https://github.com/VARCem/MiniVHD.git
synced 2026-09-23 07:15:01 +00:00
Update README.md
This commit is contained in:
@@ -46,8 +46,7 @@ if (vhd_file_is_vhd(f))
|
||||
err = vhd_check_validity(&vhdm);
|
||||
// check error status
|
||||
}
|
||||
...
|
||||
...
|
||||
// do stuff
|
||||
/* Read 8 sectors from VHD, starting at sector 2048 */
|
||||
uint8_t buff[4096]; // 8 * 512
|
||||
vhd_read_sectors(&vhdm, f, 2048, 8, buff);
|
||||
@@ -80,4 +79,4 @@ vhd_create_file_sz(f, &vhdm, 2048, img_type);
|
||||
/* Close when done */
|
||||
vhd_close(&vhdm);
|
||||
fclose(f);
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user