Skip to content

Commit

Permalink
version number and revision information logged on startup
Browse files Browse the repository at this point in the history
while the version number appears in the window title it was not visible
in the log. moreover, the SDL version number appears early in the log
and may have led people to believe it was the version number of the
emulator
  • Loading branch information
JetSetIlly committed Nov 23, 2024
1 parent 2d6a6a5 commit e3c9f08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gopher2600.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ func main() {
// launch is called from main() as a goroutine. uses mainSync instance to
// indicate gui creation and to quit.
func launch(sync *mainSync, args []string) {
logger.Logf(logger.Allow, "runtime", "number of cores being used: %d", runtime.NumCPU())
logger.Logf(logger.Allow, "gopher2600", "%s", version.Version)
logger.Logf(logger.Allow, "gopher2600", "%s", version.Revision)
logger.Logf(logger.Allow, "gopher2600", "number of cores being used: %d", runtime.NumCPU())

// use flag set to provide the --help flag for top level command line.
// that's all we want it to do
Expand Down

0 comments on commit e3c9f08

Please sign in to comment.