1
0
mirror of https://github.com/soarqin/DSP_Mods_TO.git synced 2026-02-04 14:12:18 +08:00

format code

This commit is contained in:
2026-01-28 20:27:15 +08:00
parent d698e0afc1
commit 98abc31c6f
38 changed files with 2043 additions and 2043 deletions

View File

@@ -24,9 +24,9 @@ public static class SaveUtil
fullPath = filename + GameSave.saveExt;
if (dir != null) fullPath = Path.Combine(dir, fullPath);
var i = 0;
while(File.Exists(fullPath))
while (File.Exists(fullPath))
{
fullPath = $"{filename}[{i++}]{GameSave.saveExt}";
fullPath = $"{filename}[{i++}]{GameSave.saveExt}";
if (dir != null) fullPath = Path.Combine(dir, fullPath);
}
var buffer = new byte[1024 * 1024];