Skip to content

Commit

Permalink
bugfix: DiskSwapper slots should be 10
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jun 27, 2023
1 parent 011a648 commit 0875cc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/include/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ struct jport
#define KBTYPE_PC1 1
#define KBTYPE_PC2 2

#ifdef AMIBERRY
#define MAX_SPARE_DRIVES 10
#else
#define MAX_SPARE_DRIVES 20
#endif
#define MAX_CUSTOM_MEMORY_ADDRS 2

#define CONFIG_TYPE_ALL -1
Expand Down
4 changes: 2 additions & 2 deletions src/osdep/gui/PanelDiskSwapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ bool HelpPanelDiskSwapper(std::vector<std::string>& helptext)
helptext.emplace_back("There are 10 slots available in the Disk Swapper. You can insert a disk image on each slot,");
helptext.emplace_back("and then use the built-in hotkey combinations to swap them on the fly:");
helptext.emplace_back(" ");
helptext.emplace_back("Hotkey for slots 1-10: End & 1 to 0 keys");
//helptext.emplace_back("Hotkey for slots 11-20: End & Shift & 1 to 0 keys");
helptext.emplace_back("To insert a disk image into drives DF0:-DF3: then press END+F1 - END+F4");
helptext.emplace_back("To eject a disk image from drives DF0:-DF3: then press Shift+END+F1 - Shift+END+F4");
return true;
}

0 comments on commit 0875cc1

Please sign in to comment.