Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'NesMenuFolder.cs')
-rw-r--r--NesMenuFolder.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/NesMenuFolder.cs b/NesMenuFolder.cs
index 657ff3c7..1de924dd 100644
--- a/NesMenuFolder.cs
+++ b/NesMenuFolder.cs
@@ -205,7 +205,7 @@ namespace com.clusterrr.hakchi_gui
}
}
- public void Save(string path)
+ public long Save(string path)
{
Directory.CreateDirectory(path);
var ConfigPath = Path.Combine(path, Code + ".desktop");
@@ -255,6 +255,7 @@ namespace com.clusterrr.hakchi_gui
);
Image.Save(IconPath, ImageFormat.Png);
ImageThumbnail.Save(ThumnnailIconPath, ImageFormat.Png);
+ return new FileInfo(ConfigPath).Length + new FileInfo(IconPath).Length + new FileInfo(ThumnnailIconPath).Length;
}
public override string ToString()