mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-05-29 03:41:31 +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() {
|
for event := sdl.PollEvent(); event != nil; event = sdl.PollEvent() {
|
||||||
switch t := event.(type) {
|
switch t := event.(type) {
|
||||||
case *sdl.QuitEvent:
|
case *sdl.QuitEvent:
|
||||||
|
a.SendCommand(apple2.CommandKill)
|
||||||
running = false
|
running = false
|
||||||
case *sdl.KeyboardEvent:
|
case *sdl.KeyboardEvent:
|
||||||
//fmt.Printf("[%d ms] Keyboard\ttype:%d\tsym:%c\tmodifiers:%d\tstate:%d\trepeat:%d\n",
|
//fmt.Printf("[%d ms] Keyboard\ttype:%d\tsym:%c\tmodifiers:%d\tstate:%d\trepeat:%d\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user