#ifndef NESE_SAVE_H_ #define NESE_SAVE_H_ #include "nes.h" int load_sram(nes_cart* cart, const char* filename); int save_sram(const nes_cart* cart, const char* filename); int state_size(const nes*); int state_read(nes*, const void* mem, int size); int state_write(const nes*, void* mem, int size); int load_state(nes*, const char* filename); int save_state(const nes*, const char* filename); #endif // NESE_SAVE_H_