diff options
-rw-r--r-- | src/main-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-menu.c b/src/main-menu.c index de47174..5759c9f 100644 --- a/src/main-menu.c +++ b/src/main-menu.c @@ -266,7 +266,7 @@ db_main_menu(SDL_Window *window) buttons[i + 2]->p = buttons[i + 1]; buttons[i + 1]->n = buttons[i + 2]; buttons[i + 2]->action = &_db_main_menu_action_game; - buttons[i + 2]->user_data_1 = games[i]; + buttons[i + 2]->user_data_1 = renderer; buttons[i + 2]->user_data_2 = games[i]; } if (n > 0) { |