Skip to content

Commit d3a3192

Browse files
committed
Do not init favorites and history with menu disabled
1 parent 5db9d3c commit d3a3192

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tasks/task_content.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,8 +1475,11 @@ static bool content_load(content_ctx_info_t *info,
14751475
#endif
14761476
#endif
14771477

1478+
#ifdef HAVE_MENU
14781479
retroarch_favorites_init();
14791480
command_event(CMD_EVENT_HISTORY_INIT, NULL);
1481+
#endif
1482+
14801483
command_event(CMD_EVENT_RESUME, NULL);
14811484
command_event(CMD_EVENT_VIDEO_SET_ASPECT_RATIO, NULL);
14821485

0 commit comments

Comments
 (0)