Make debugging bankswitch selection easier.

This commit is contained in:
Stephen Anthony 2020-01-21 12:20:48 -03:30
parent dd16957a60
commit 850f2d54a3
1 changed files with 5 additions and 0 deletions

View File

@ -89,6 +89,11 @@ class Bankswitch
static bool isValidRomName(const FilesystemNode& name);
static bool isValidRomName(const string& name);
// Output operator
friend ostream& operator<<(ostream& os, const Bankswitch::Type& t) {
return os << typeToName(t);
}
private:
struct TypeComparator {
bool operator() (const string& a, const string& b) const {