Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
go1.5 fixed Go-PerfEvents import and for Z80.Tstates change to int
  • Loading branch information
ivorget committed Sep 7, 2015
1 parent 14a75b8 commit b62ea1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spectrum/spectrum.go
Expand Up @@ -31,7 +31,7 @@ import (
"errors"
"sync"
"time"
"github.com/0xe2-0x9a-0x9b/Go-PerfEvents"
"github.com/remogatto/Go-PerfEvents"
"github.com/remogatto/gospeccy/src/formats"
"github.com/remogatto/z80"
)
Expand Down Expand Up @@ -625,7 +625,7 @@ func (speccy *Spectrum48k) loadSnapshot(s formats.Snapshot) error {
// Populate memory
copy(speccy.Memory.Data()[0x4000:], mem[:])

speccy.Cpu.Tstates = cpu.Tstate
speccy.Cpu.Tstates = int(cpu.Tstate)

return nil
}
Expand Down

0 comments on commit b62ea1d

Please sign in to comment.