diff options
Diffstat (limited to 'src/zx81.c')
-rw-r--r-- | src/zx81.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -100,7 +100,7 @@ static Z80Byte matrix[8]; typedef struct { - SDLKey key; + SDL_Keycode key; int m1,b1,m2,b2; } MatrixMap; @@ -493,6 +493,11 @@ void ZX81KeyEvent(SDL_Event *e) { const MatrixMap *m; + if (e->key.repeat) + { + return; + } + m=keymap; while(m->key!=SDLK_UNKNOWN) |