Beispiel #1
0
func updateTitle(window *sdl.Window, m *machine) {
	title := fmt.Sprintf("Chippy - %dHz - %s", m.cpuSpeedHz, path.Base(m.programPath))
	window.SetTitle(title)
}