From d474e9fb5ac8f5d13d04be00a721977a69b96850 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 28 Aug 2016 18:36:50 +0200 Subject: [PATCH] Move struct to top of cheevos.h file --- cheevos.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cheevos.h b/cheevos.h index c5d3f529d3..0a2d0dc21d 100644 --- a/cheevos.h +++ b/cheevos.h @@ -30,6 +30,15 @@ typedef struct cheevos_ctx_desc size_t len; } cheevos_ctx_desc_t; +typedef struct +{ + unsigned size; + unsigned type; + int bank_id; + unsigned value; + unsigned previous; +} cheevos_var_t; + bool cheevos_load(const void *data); void cheevos_populate_menu(void *data); @@ -48,17 +57,8 @@ 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