◆ CreateSavestate()
  
  | 
        
          | virtual std::string KODI::RETRO::IGameCallback::CreateSavestate | ( | bool | autosave | ) |  |  | pure virtual | 
 
Creates a savestate. 
- Parameters
- 
  
    | autosave | Whether the save type is auto |  
 
- Returns
- The path to the created savestate, or empty on error 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
◆ FreeSavestateResources()
  
  | 
        
          | virtual void KODI::RETRO::IGameCallback::FreeSavestateResources | ( | const std::string & | savestatePath | ) |  |  | pure virtual | 
 
Frees resources allocated to the savestate, such as its video thumbnail. 
- Parameters
- 
  
    | savestatePath | The path to the savestate |  
 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
◆ GameClientID()
  
  | 
        
          | virtual std::string KODI::RETRO::IGameCallback::GameClientID | ( |  | ) | const |  | pure virtual | 
 
Get the game client being used to play the game. 
- Returns
- The game client's ID, or empty if no game is being played 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
◆ GetPlayingGame()
  
  | 
        
          | virtual std::string KODI::RETRO::IGameCallback::GetPlayingGame | ( |  | ) | const |  | pure virtual | 
 
Get the game that is being played. 
- Returns
- The path to the game, or empty if no game is being played 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
◆ LoadSavestate()
  
  | 
        
          | virtual bool KODI::RETRO::IGameCallback::LoadSavestate | ( | const std::string & | savestatePath | ) |  |  | pure virtual | 
 
Loads a savestate. 
- Parameters
- 
  
    | savestatePath | The path to the savestate |  
 
- Returns
- True if the savestate was loaded, false on error 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
◆ UpdateSavestate()
  
  | 
        
          | virtual bool KODI::RETRO::IGameCallback::UpdateSavestate | ( | const std::string & | savestatePath | ) |  |  | pure virtual | 
 
Updates a savestate with the current game being played. 
- Parameters
- 
  
    | savestatePath | The path to the savestate |  
 
- Returns
- True if the savestate was updated, false on error 
Implemented in KODI::RETRO::CRetroPlayer.
 
 
The documentation for this class was generated from the following file: