mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-22 14:30:11 +00:00
Add the -profile option
This commit is contained in:
parent
c65d8585d4
commit
6917a21f38
@ -43,6 +43,7 @@ func SDLRun(a *apple2.Apple2) {
|
||||
for event := sdl.PollEvent(); event != nil; event = sdl.PollEvent() {
|
||||
switch t := event.(type) {
|
||||
case *sdl.QuitEvent:
|
||||
a.SendCommand(apple2.CommandKill)
|
||||
running = false
|
||||
case *sdl.KeyboardEvent:
|
||||
//fmt.Printf("[%d ms] Keyboard\ttype:%d\tsym:%c\tmodifiers:%d\tstate:%d\trepeat:%d\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user