From faa509de7e285dbd2eb4505e9ba6695b536ec367 Mon Sep 17 00:00:00 2001 From: EricGoldsteinNz Date: Wed, 4 Oct 2023 19:53:58 +1300 Subject: [PATCH] Fix processGameShortcuts to use the sf2000 objects --- tadpole.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tadpole.py b/tadpole.py index 3a74f44..1ac31f2 100644 --- a/tadpole.py +++ b/tadpole.py @@ -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