Further refactoring of the hex loader class to be a little easier to read.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2019-06-29 11:50:27 +01:00
parent 7b5af28f5d
commit 21472154e0
2 changed files with 23 additions and 23 deletions
+1 -3
View File
@@ -5,8 +5,6 @@
namespace EightBit
{
using System;
using System.Collections.Generic;
using System.IO;
public abstract class Bus : IMapper
{
@@ -140,7 +138,7 @@ namespace EightBit
var content = chunk.Item2;
var mapped = this.Mapping(address);
var offset = address - mapped.Begin;
mapped.Memory.Load(content.ToArray(), offset);
mapped.Memory.Load(content, offset);
}
}
}