Skip to content

Commit

Permalink
Print game bitness in debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
olanti-p authored Sep 13, 2023
1 parent cf551a3 commit 3475f40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ void DebugFile::init( DebugOutput output_mode, const std::string &filename )
filename.c_str(), std::ios::out | std::ios::app );
*file << "\n\n-----------------------------------------\n";
*file << get_time() << " : Starting log.\n";
DebugLog( DL::Info, DC::Main ) << "Cataclysm BN version " << getVersionString();
DebugLog( DL::Info, DC::Main ) << "Cataclysm BN version " << getVersionString() << " " <<
game_info::bitness_string();
if( rename_failed ) {
DebugLog( DL::Info, DC::Main ) << "Moving the previous log file to "
<< oldfile << " failed.\n"
Expand Down

0 comments on commit 3475f40

Please sign in to comment.