mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Stops truncating tests by two bytes.
Not that it seems to have been problematic.
This commit is contained in:
parent
7479dc74ed
commit
6a47571d17
@ -292,7 +292,7 @@ class WolfgangLorenzTests: XCTestCase, CSTestMachineTrapHandler {
|
||||
|
||||
let dataPointer = (testData as NSData).bytes.bindMemory(to: UInt8.self, capacity: testData.count)
|
||||
let loadAddress = UInt16(dataPointer[0]) | (UInt16(dataPointer[1]) << 8)
|
||||
let contents = testData.subdata(in: 2..<(testData.count - 2))
|
||||
let contents = testData.subdata(in: 2 ..< testData.count)
|
||||
|
||||
machine.setData(contents, atAddress: loadAddress)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user