Fix LE/LX debug parsing

This commit is contained in:
Matt Nadareski
2023-01-11 13:55:00 -08:00
parent a9f61ed51e
commit 913f7802de
2 changed files with 2 additions and 2 deletions

View File

@@ -428,7 +428,7 @@ namespace BurnOutSharp.Builders
#region Debug Information
// Get the debug information offset
offset = informationBlock.NonResidentNamesTableOffset + stub.Header.NewExeHeaderAddr;
offset = informationBlock.DebugInformationOffset + stub.Header.NewExeHeaderAddr;
if (offset > stub.Header.NewExeHeaderAddr && offset < data.Length)
{
// Seek to the debug information

View File

@@ -111,7 +111,7 @@ namespace Test
var linearExecutable = LinearExecutable.Create(stream);
if (linearExecutable == null)
{
Console.WriteLine("Something went wrong parsing New Executable");
Console.WriteLine("Something went wrong parsing Linear Executable");
Console.WriteLine();
return;
}