mirror of https://github.com/stella-emu/stella.git
Make debugging bankswitch selection easier.
This commit is contained in:
parent
4e95b96de5
commit
702b620041
|
@ -89,6 +89,11 @@ class Bankswitch
|
||||||
static bool isValidRomName(const FilesystemNode& name);
|
static bool isValidRomName(const FilesystemNode& name);
|
||||||
static bool isValidRomName(const string& name);
|
static bool isValidRomName(const string& name);
|
||||||
|
|
||||||
|
// Output operator
|
||||||
|
friend ostream& operator<<(ostream& os, const Bankswitch::Type& t) {
|
||||||
|
return os << typeToName(t);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct TypeComparator {
|
struct TypeComparator {
|
||||||
bool operator() (const string& a, const string& b) const {
|
bool operator() (const string& a, const string& b) const {
|
||||||
|
|
Loading…
Reference in New Issue