From 08a40e83fa1ab3e9547094a899d60dec84f5fc4e Mon Sep 17 00:00:00 2001 From: jrebey <55519905+jrebey@users.noreply.github.com> Date: Wed, 19 Oct 2022 19:30:54 -0400 Subject: [PATCH] Fix SetWayForRom --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 25567d3..b4afa38 100644 --- a/main.go +++ b/main.go @@ -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) } }