projects
/
GitHub
/
mt8127
/
ROM0Split.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3004d53
)
add Information MessageBox when splitting is done
author
Jan Altensen
<info@stricted.net>
Fri, 21 Dec 2018 03:14:40 +0000
(
04:14
+0100)
committer
Jan Altensen
<info@stricted.net>
Fri, 21 Dec 2018 03:14:40 +0000
(
04:14
+0100)
Change-Id: I64cd43ffa23ebf6879c774c0036569986be704c4
ROM0Split/Model/MainWindowModel.cs
patch
|
blob
|
blame
|
history
diff --git
a/ROM0Split/Model/MainWindowModel.cs
b/ROM0Split/Model/MainWindowModel.cs
index 7871d77dcf193ca625dbd31bbd106572abfbd822..c789a55e10e2ebb45d04f2434b189260c525a6f9 100644
(file)
--- a/
ROM0Split/Model/MainWindowModel.cs
+++ b/
ROM0Split/Model/MainWindowModel.cs
@@
-110,11
+110,7
@@
namespace ROM0Split.Model
UInt64 remaining = size;
int bytesRead;
while (remaining > 0 && (bytesRead = stream.Read(buffer, 0,
- int.Parse(
- Math.Min(remaining, BUFFER_SIZE).ToString()
- )
- )
- ) > 0)
+ int.Parse(Math.Min(remaining, BUFFER_SIZE).ToString()))) > 0)
{
outFile.Write(buffer, 0, bytesRead);
remaining -= (uint)bytesRead;
@@
-125,6
+121,8
@@
namespace ROM0Split.Model
outFile.Dispose();
Console.WriteLine(node["partition_index"]);
}
+
+ MessageBox.Show("Splitting Done", "Information", MessageBoxButton.OK, MessageBoxImage.Information);
}
}