Skip to content

Commit

Permalink
Minor fixes for Xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
sa666666 committed Nov 17, 2023
1 parent 7818787 commit c3b81d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common/PJoystickHandler.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1108,14 +1108,14 @@ ostream& operator<<(ostream& os, const PhysicalJoystickHandler& jh)
os << "---------------------------------------------------------\n"
<< "joy database:\n";
for(const auto& [_name, _info]: jh.myDatabase)
os << _name << '\n' << _info << '\n\n';
os << _name << '\n' << _info << "\n\n";

os << "---------------------\n"
<< "joy active:\n";
for(const auto& [_id, _joyptr]: jh.mySticks)
os << _id << ": " << *_joyptr << '\n';
os << "---------------------------------------------------------"
<< '\n\n\n';
<< "\n\n\n";

return os;
}
Expand Down
2 changes: 1 addition & 1 deletion src/emucore/OSystem.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ bool OSystem::initialize(const Settings::Options& options)
ostringstream buf;
buf << "Stella " << STELLA_VERSION << '\n'
<< " Features: " << myFeatures << '\n'
<< " " << myBuildInfo << '\n\n'
<< " " << myBuildInfo << "\n\n"
<< "Base directory: '"
<< myBaseDir.getShortPath() << "'\n"
<< "State directory: '"
Expand Down
2 changes: 1 addition & 1 deletion src/os/macos/OSystemMACOS.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ void OSystemMACOS::getBaseDirectories(string& basedir, string& homedir,
basedir = FSNode(usedir).getPath();
#endif

FSNode desktop("~/Desktop/");
const FSNode desktop("~/Desktop/");
homedir = desktop.isDirectory() ? desktop.getShortPath() : "~/";
}

0 comments on commit c3b81d0

Please sign in to comment.