()
| 30 | } |
| 31 | |
| 32 | func (m *Mapper40) Step() { |
| 33 | if m.cycles < 0 { |
| 34 | return |
| 35 | } |
| 36 | m.cycles++ |
| 37 | if m.cycles%(4096*3) == 0 { |
| 38 | m.cycles = 0 |
| 39 | m.console.CPU.triggerIRQ() |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func (m *Mapper40) Read(address uint16) byte { |
| 44 | switch { |
nothing calls this directly
no test coverage detected