GetSaveFiles (Kernel)

GetSaveFiles(gameName descBuffer descSlots)

Retrieves the total number of save files and their descriptions. The descriptions of the saved games are stored in the descBuffer. The slot numbers of the saved game strings’ saved games are stored in the descSlots array.

Parameters:
  • gameName (string) – The name of the game.
  • descBuffer (string) – Buffer where descriptions of the games will be written.
Returns:

The number of saved games, or -1 if there was an error.