Skip to content

Commit

Permalink
Fix processGameShortcuts to use the sf2000 objects
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGoldsteinNz authored and EricGoldsteinNz committed Oct 4, 2023
1 parent ae78992 commit faa509d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tadpole.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ def processGameShortcuts(self):
position = int(comboBox.currentText())
#position is 0 based
position = position - 1
game = self.tbl_gamelist.item(i, 0).text()
tadpole_functions.changeGameShortcut(drive, console, position, game)
filename = os.path.basename(self.ROMList[i].ROMlocation)
tadpole_functions.changeGameShortcut(drive, console, position, filename)

"""
Reloads the drive list to check whether there have been any changes
Expand Down

0 comments on commit faa509d

Please sign in to comment.