Skip to content

Commit

Permalink
Fix SetWayForRom
Browse files Browse the repository at this point in the history
  • Loading branch information
jrebey committed Oct 19, 2022
1 parent 71b7018 commit 08a40e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ func (g *GRSDevice) SetWayForRom(rom string) {
log.Printf("Checking ROM: %s", autoRom)

if funk.Contains(roms, filepath.Base(autoRom)) {
device.SetPosition(deviceRestrictor, 4)
g.SetPosition(deviceRestrictor, 4)
} else {
device.SetPosition(deviceRestrictor, 8)
g.SetPosition(deviceRestrictor, 8)
}
}

Expand Down

0 comments on commit 08a40e8

Please sign in to comment.