#ifndef _CHEAT_H_ #define _CHEAT_H_ #include "types.h" typedef int cheat_error_t; #define CCHT_OK 0 cheat_error_t init_current_cheat( u32 id, u32 len ); cheat_error_t put_current_cheat( u32 index, u32 entry_id ); cheat_error_t get_current_cheat( u32 *id, u32 *len, u32 *entry_array ); cheat_error_t fini_current_cheat(); cheat_error_t push_current_cheat( const char *filename, int is_using ); cheat_error_t pop_current_cheat( const char *filename, u32 chtid ); cheat_error_t chtid_current_cheat( const char *filename, u32 *pointer_id ); cheat_error_t chtlst_current_cheat( const char *filename, u8 pointer_data[256] ); cheat_error_t apply_cheat( int mode, int szrom ); #endif//_CHEAT_H_