Fix some silly copypasta.

This commit is contained in:
Alcaro 2016-06-04 17:45:48 +02:00
parent d845093c7b
commit 1a64520a23
3 changed files with 13 additions and 23 deletions

View File

@ -156,15 +156,6 @@ enum
CHEEVOS_DIRTY_ALL = (1 << 9) - 1
};
typedef struct
{
unsigned size;
unsigned type;
int bank_id;
unsigned value;
unsigned previous;
} cheevos_var_t;
typedef struct
{
unsigned type;

View File

@ -48,6 +48,19 @@ bool cheevos_set_cheats(void);
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
#endif /* __RARCH_CHEEVOS_H */

View File

@ -184,20 +184,6 @@ static bool command_set_shader(const char *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)
{
#ifdef HAVE_CHEEVOS