mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 09:32:58 +00:00
Cleanups
This commit is contained in:
parent
c271fafc96
commit
5278cf7e7e
@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu_driver.h"
|
#include "menu/menu_driver.h"
|
||||||
|
#include "menu/menu_entries.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "verbosity.h"
|
#include "verbosity.h"
|
||||||
@ -1939,12 +1940,13 @@ int cheevos_load(const void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
void cheevos_populate_menu(menu_displaylist_info_t *info)
|
void cheevos_populate_menu(void *data)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
const cheevo_t *end;
|
const cheevo_t *end = NULL;
|
||||||
cheevo_t *cheevo;
|
cheevo_t *cheevo = NULL;
|
||||||
settings_t *settings = config_get_ptr();
|
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, "Unlocked Achievements:", "", MENU_SETTINGS_CHEEVOS_NONE, 0, 0);
|
||||||
menu_entries_push(info->list, "", "", MENU_SETTINGS_CHEEVOS_NONE, 0, 0);
|
menu_entries_push(info->list, "", "", MENU_SETTINGS_CHEEVOS_NONE, 0, 0);
|
||||||
|
@ -19,14 +19,10 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
|
||||||
#include "menu/menu_entries.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int cheevos_load(const void *data);
|
int cheevos_load(const void *data);
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
void cheevos_populate_menu(menu_displaylist_info_t *info);
|
void cheevos_populate_menu(void *data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void cheevos_get_description(unsigned cheevo_ndx, char *str, size_t len);
|
void cheevos_get_description(unsigned cheevo_ndx, char *str, size_t len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user