Fix some silly copypasta.
This commit is contained in:
parent
d845093c7b
commit
1a64520a23
|
@ -156,15 +156,6 @@ enum
|
||||||
CHEEVOS_DIRTY_ALL = (1 << 9) - 1
|
CHEEVOS_DIRTY_ALL = (1 << 9) - 1
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
unsigned size;
|
|
||||||
unsigned type;
|
|
||||||
int bank_id;
|
|
||||||
unsigned value;
|
|
||||||
unsigned previous;
|
|
||||||
} cheevos_var_t;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned type;
|
unsigned type;
|
||||||
|
|
13
cheevos.h
13
cheevos.h
|
@ -48,6 +48,19 @@ bool cheevos_set_cheats(void);
|
||||||
|
|
||||||
void cheevos_set_support_cheevos(bool state);
|
void cheevos_set_support_cheevos(bool state);
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
unsigned size;
|
||||||
|
unsigned type;
|
||||||
|
int bank_id;
|
||||||
|
unsigned value;
|
||||||
|
unsigned previous;
|
||||||
|
} cheevos_var_t;
|
||||||
|
|
||||||
|
void cheevos_parse_guest_addr(cheevos_var_t *var, unsigned value);
|
||||||
|
uint8_t *cheevos_get_memory(const cheevos_var_t *var);
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif /* __RARCH_CHEEVOS_H */
|
#endif /* __RARCH_CHEEVOS_H */
|
||||||
|
|
14
command.c
14
command.c
|
@ -184,20 +184,6 @@ static bool command_set_shader(const char *arg)
|
||||||
return video_driver_set_shader(type, arg);
|
return video_driver_set_shader(type, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_CHEEVOS
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
unsigned size;
|
|
||||||
unsigned type;
|
|
||||||
int bank_id;
|
|
||||||
unsigned value;
|
|
||||||
unsigned previous;
|
|
||||||
} cheevos_var_t;
|
|
||||||
|
|
||||||
void cheevos_parse_guest_addr(cheevos_var_t *var, unsigned value);
|
|
||||||
uint8_t *cheevos_get_memory(const cheevos_var_t *var);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static bool command_read_ram(const char *arg)
|
static bool command_read_ram(const char *arg)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_CHEEVOS
|
#ifdef HAVE_CHEEVOS
|
||||||
|
|
Loading…
Reference in New Issue