Make debugging bankswitch selection easier.

This commit is contained in:
Stephen Anthony 2020-01-21 12:20:48 -03:30
parent 4e95b96de5
commit 702b620041
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 {