DeSmuME_Savestate - Managing savestates¶
- class desmume.emulator.DeSmuME_Savestate(emu: DeSmuME)[source]¶
Bases:
objectLoad and save savestates. Either slots can be used (maximum number of slots is in the constant
NB_STATES), or savestates can be directly loaded from / saved to files.Should not be instantiated manually!
- load_file(file_name: str)[source]¶
Load a savestate from file.
- Raise:
RuntimeError If the savestate could not be loaded.