mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fixed CXX_BUILD
This commit is contained in:
parent
4f2398dd08
commit
8c1e3e5d5b
@ -258,7 +258,7 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int console_id;
|
||||
cheevos_console_t console_id;
|
||||
bool core_supports;
|
||||
bool addrs_patched;
|
||||
int add_buffer;
|
||||
@ -276,7 +276,7 @@ typedef struct
|
||||
|
||||
static cheevos_locals_t cheevos_locals =
|
||||
{
|
||||
/* console_id */ 0,
|
||||
/* console_id */ CHEEVOS_CONSOLE_NONE,
|
||||
/* core_supports */ true,
|
||||
/* addrs_patched */ false,
|
||||
/* add_buffer */ 0,
|
||||
@ -1385,7 +1385,7 @@ static int cheevos_read__json_number(void *userdata,
|
||||
}
|
||||
else if (ud->is_console_id)
|
||||
{
|
||||
cheevos_locals.console_id = (int)strtol(number, NULL, 10);
|
||||
cheevos_locals.console_id = (cheevos_console_t)strtol(number, NULL, 10);
|
||||
ud->is_console_id = 0;
|
||||
}
|
||||
|
||||
|
@ -47,6 +47,7 @@ typedef struct cheevos_ctx_desc
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CHEEVOS_CONSOLE_NONE = 0,
|
||||
/* Don't change those, the values match the console IDs
|
||||
* at retroachievements.org. */
|
||||
CHEEVOS_CONSOLE_MEGA_DRIVE = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user