mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2025-08-12 20:25:33 +00:00
Add file sync to prevent data loss on power-off
This commit is contained in:
@@ -262,6 +262,7 @@ func main() {
|
||||
|
||||
writeBlock(buffer)
|
||||
file.WriteAt(buffer, int64(block) * 512)
|
||||
file.Sync()
|
||||
break
|
||||
case GetTimeCommand:
|
||||
/*
|
||||
|
Reference in New Issue
Block a user