mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-02-19 15:31:20 +00:00
Don't panic
This commit is contained in:
parent
8e109720e6
commit
10d2551b36
@ -12,13 +12,13 @@ import (
|
||||
|
||||
func main() {
|
||||
a := apple2.MainApple()
|
||||
if a.IsProfiling() {
|
||||
// See the log with:
|
||||
// go tool pprof --pdf ~/go/bin/apple2sdl /tmp/profile329536248/cpu.pprof > profile.pdf
|
||||
defer profile.Start().Stop()
|
||||
}
|
||||
|
||||
if a != nil {
|
||||
if a.IsProfiling() {
|
||||
// See the log with:
|
||||
// go tool pprof --pdf ~/go/bin/apple2sdl /tmp/profile329536248/cpu.pprof > profile.pdf
|
||||
defer profile.Start().Stop()
|
||||
}
|
||||
|
||||
SDLRun(a)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user