mirror of https://github.com/stella-emu/stella.git
Minor fixes for Xcode.
This commit is contained in:
parent
78187876db
commit
c3b81d00ae
|
@ -1108,14 +1108,14 @@ ostream& operator<<(ostream& os, const PhysicalJoystickHandler& jh)
|
||||||
os << "---------------------------------------------------------\n"
|
os << "---------------------------------------------------------\n"
|
||||||
<< "joy database:\n";
|
<< "joy database:\n";
|
||||||
for(const auto& [_name, _info]: jh.myDatabase)
|
for(const auto& [_name, _info]: jh.myDatabase)
|
||||||
os << _name << '\n' << _info << '\n\n';
|
os << _name << '\n' << _info << "\n\n";
|
||||||
|
|
||||||
os << "---------------------\n"
|
os << "---------------------\n"
|
||||||
<< "joy active:\n";
|
<< "joy active:\n";
|
||||||
for(const auto& [_id, _joyptr]: jh.mySticks)
|
for(const auto& [_id, _joyptr]: jh.mySticks)
|
||||||
os << _id << ": " << *_joyptr << '\n';
|
os << _id << ": " << *_joyptr << '\n';
|
||||||
os << "---------------------------------------------------------"
|
os << "---------------------------------------------------------"
|
||||||
<< '\n\n\n';
|
<< "\n\n\n";
|
||||||
|
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,7 +125,7 @@ bool OSystem::initialize(const Settings::Options& options)
|
||||||
ostringstream buf;
|
ostringstream buf;
|
||||||
buf << "Stella " << STELLA_VERSION << '\n'
|
buf << "Stella " << STELLA_VERSION << '\n'
|
||||||
<< " Features: " << myFeatures << '\n'
|
<< " Features: " << myFeatures << '\n'
|
||||||
<< " " << myBuildInfo << '\n\n'
|
<< " " << myBuildInfo << "\n\n"
|
||||||
<< "Base directory: '"
|
<< "Base directory: '"
|
||||||
<< myBaseDir.getShortPath() << "'\n"
|
<< myBaseDir.getShortPath() << "'\n"
|
||||||
<< "State directory: '"
|
<< "State directory: '"
|
||||||
|
|
|
@ -32,6 +32,6 @@ void OSystemMACOS::getBaseDirectories(string& basedir, string& homedir,
|
||||||
basedir = FSNode(usedir).getPath();
|
basedir = FSNode(usedir).getPath();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
FSNode desktop("~/Desktop/");
|
const FSNode desktop("~/Desktop/");
|
||||||
homedir = desktop.isDirectory() ? desktop.getShortPath() : "~/";
|
homedir = desktop.isDirectory() ? desktop.getShortPath() : "~/";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue