diff --git a/cheevos.h b/cheevos.h index ce37e89495..52e2c47461 100644 --- a/cheevos.h +++ b/cheevos.h @@ -26,15 +26,18 @@ typedef struct /* These are used by the implementation, do not touch. */ char token[ 20 ]; unsigned game_id; -} -cheevos_config_t; +} cheevos_config_t; extern cheevos_config_t cheevos_config; -int cheevos_load( const char* json ); -void cheevos_test( void ); -void cheevos_unload( void ); +int cheevos_load(const char* json); + +void cheevos_test(void); + +void cheevos_unload(void); + int cheevos_get_by_game_id( const char** json, unsigned game_id ); + int cheevos_get_by_content( const char** json, const void* data, size_t size ); #endif /* __RARCH_CHEEVOS_H */