diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/brickmania.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 074051d..937c4e4 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -557,6 +557,7 @@ void sleep (int secs) { if (*rb->current_tick>=count) done=true; } + rb->yield(); } } @@ -1292,6 +1293,7 @@ int game_loop(void){ } if (end > *rb->current_tick) rb->sleep(end-*rb->current_tick); + else rb->yield(); } } |