mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
correct buffer size setting -> rewind file at beginning of second level
This commit is contained in:
parent
63a8d52768
commit
13bfc6ee2a
@ -187,6 +187,7 @@ int emile_floppy_create_image(char* first_level, char* second_level,
|
||||
FIRST_LEVEL_SIZE +
|
||||
emile_file_get_size(second_level),
|
||||
ramdisk);
|
||||
lseek(fd, FIRST_LEVEL_SIZE, SEEK_SET);
|
||||
ret = emile_second_set_buffer_size(fd, buffer_size);
|
||||
|
||||
close(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user