From e9f75566356000b9a73c935f15f9b6a520c44944 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Mon, 22 Oct 2018 12:51:30 -0500 Subject: [PATCH] Ensure the save header is flushed when committing --- LibHac/Save/Savefile.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/LibHac/Save/Savefile.cs b/LibHac/Save/Savefile.cs index 172bfe49..9c305b97 100644 --- a/LibHac/Save/Savefile.cs +++ b/LibHac/Save/Savefile.cs @@ -154,6 +154,7 @@ namespace LibHac.Save headerStream.Position = 0; headerStream.Write(cmac, 0, 0x10); + headerStream.Flush(); return true; }