This commit is contained in:
twinaphex 2015-12-07 14:53:33 +01:00
parent c271fafc96
commit 5278cf7e7e
2 changed files with 7 additions and 9 deletions

View File

@ -31,6 +31,7 @@
#ifdef HAVE_MENU
#include "menu/menu_driver.h"
#include "menu/menu_entries.h"
#endif
#include "verbosity.h"
@ -1939,12 +1940,13 @@ int cheevos_load(const void *data)
}
#ifdef HAVE_MENU
void cheevos_populate_menu(menu_displaylist_info_t *info)
void cheevos_populate_menu(void *data)
{
unsigned i;
const cheevo_t *end;
cheevo_t *cheevo;
const cheevo_t *end = NULL;
cheevo_t *cheevo = NULL;
settings_t *settings = config_get_ptr();
menu_displaylist_info_t *info = (menu_displaylist_info_t*)data;
menu_entries_push(info->list, "Unlocked Achievements:", "", MENU_SETTINGS_CHEEVOS_NONE, 0, 0);
menu_entries_push(info->list, "", "", MENU_SETTINGS_CHEEVOS_NONE, 0, 0);

View File

@ -19,14 +19,10 @@
#include <stdint.h>
#include <stdlib.h>
#ifdef HAVE_MENU
#include "menu/menu_entries.h"
#endif
int cheevos_load(const void *data);
#ifdef HAVE_MENU
void cheevos_populate_menu(menu_displaylist_info_t *info);
void cheevos_populate_menu(void *data);
#endif
void cheevos_get_description(unsigned cheevo_ndx, char *str, size_t len);