diff --git a/src/music.c b/src/music.c index 2d28bee..899451d 100644 --- a/src/music.c +++ b/src/music.c @@ -1515,9 +1515,6 @@ static void drawMusicToolbar(Music* music) static void drawPianoLayout(Music* music) { - // SDL_Event* event = NULL; - // while ((event = pollEvent())){} - music->tic->api.clear(music->tic, (tic_color_gray)); static const char Wip[] = "PIANO MODE - WORK IN PROGRESS..."; diff --git a/src/run.c b/src/run.c index 42300b5..f7322de 100644 --- a/src/run.c +++ b/src/run.c @@ -86,8 +86,6 @@ static void initPMemName(Run* run) static void tick(Run* run) { - // while(pollEvent()); - if (getStudioMode() != TIC_RUN_MODE) return; @@ -169,8 +167,6 @@ static void preseed() static bool forceExit(void* data) { - // while(pollEvent()); - return getStudioMode() != TIC_RUN_MODE; } diff --git a/src/start.c b/src/start.c index e1b905e..8ef88bf 100644 --- a/src/start.c +++ b/src/start.c @@ -78,8 +78,6 @@ static void tick(Start* start) start->initialized = true; } - // while (pollEvent()); - start->tic->api.clear(start->tic, TIC_COLOR_BG); static void(*const steps[])(Start*) = {reset, header, end}; diff --git a/src/studio.h b/src/studio.h index d4e5230..57b8d97 100644 --- a/src/studio.h +++ b/src/studio.h @@ -135,7 +135,6 @@ typedef struct s32 x, y, w, h; } tic_rect; -// SDL_Event* pollEvent(); void setCursor(tic_cursor id); s32 getMouseX(); @@ -146,8 +145,6 @@ bool checkMouseDown(const tic_rect* rect, s32 button); bool getGesturePos(tic_point* pos); -// const u8* getKeyboard(); - void drawToolbar(tic_mem* tic, u8 color, bool bg); void drawBitIcon(s32 x, s32 y, const u8* ptr, u8 color); diff --git a/src/surf.c b/src/surf.c index 41327f3..1c6712a 100644 --- a/src/surf.c +++ b/src/surf.c @@ -803,9 +803,6 @@ static void tick(Surf* surf) surf->ticks++; - // while (pollEvent()); - - tic_mem* tic = surf->tic; tic->api.clear(tic, TIC_COLOR_BG);