Make the intel hex file format parser easier to use.

This commit is contained in:
Adrian Conlon
2024-10-07 09:40:26 +01:00
parent b6043c3659
commit 297f3b8dff
2 changed files with 6 additions and 25 deletions

View File

@@ -122,7 +122,7 @@ namespace EightBit
protected void LoadHexFile(string path)
{
using var file = new IntelHexFile(path);
var file = new IntelHexFile(path);
foreach (var (address, content) in file.Parse())
{
var mapped = this.Mapping(address);