This commit is contained in:
jl777
2019-03-26 09:22:13 -11:00
parent 701f7027f5
commit cec48a6815

View File

@@ -307,11 +307,11 @@ static void tg_handle_move(struct games_state *rs,tetris_game *obj, tetris_move
{ {
switch (move) { switch (move) {
case TM_LEFT: case TM_LEFT:
fprintf(stderr,"LEFT "); //fprintf(stderr,"LEFT ");
tg_move(obj, -1); tg_move(obj, -1);
break; break;
case TM_RIGHT: case TM_RIGHT:
fprintf(stderr,"RIGHT "); //fprintf(stderr,"RIGHT ");
tg_move(obj, 1); tg_move(obj, 1);
break; break;
case TM_DROP: case TM_DROP:
@@ -703,7 +703,7 @@ void *gamesiterate(struct games_state *rs)
if ( skipcount == 0 ) if ( skipcount == 0 )
{ {
c = games_readevent(rs); c = games_readevent(rs);
fprintf(stderr,"%04x\n",c); //fprintf(stderr,"%04x\n",c);
if ( (c & 0x4000) == 0x4000 ) if ( (c & 0x4000) == 0x4000 )
{ {
skipcount = (c & 0x3fff); skipcount = (c & 0x3fff);