mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-14 03:16:40 +10:00
fix: Handle loaders with new lines at the top instead of intel hex style right at the start
This commit is contained in:
@@ -89,6 +89,11 @@ namespace WPinternals
|
|||||||
|
|
||||||
foreach (string Line in Lines)
|
foreach (string Line in Lines)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(Line))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (Line[0] != ':')
|
if (Line[0] != ':')
|
||||||
{
|
{
|
||||||
throw new BadImageFormatException();
|
throw new BadImageFormatException();
|
||||||
|
|||||||
Reference in New Issue
Block a user