mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-12-21 18:29:45 +00:00
Fix tests with the new PeekCode() in Memory
This commit is contained in:
parent
0c7e4b7db2
commit
06704ed1e3
@ -30,6 +30,11 @@ func (m *FlatMemory) Peek(address uint16) uint8 {
|
||||
return m.data[address]
|
||||
}
|
||||
|
||||
// PeekCode returns the data on the given address
|
||||
func (m *FlatMemory) PeekCode(address uint16) uint8 {
|
||||
return m.data[address]
|
||||
}
|
||||
|
||||
// Poke sets the data at the given address
|
||||
func (m *FlatMemory) Poke(address uint16, value uint8) {
|
||||
m.data[address] = value
|
||||
|
Loading…
Reference in New Issue
Block a user