RetroArch
Classes | Typedefs | Functions
content.h File Reference
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <retro_miscellaneous.h>
#include "frontend/frontend_driver.h"
Include dependency graph for content.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  content_ctx_info
 

Typedefs

typedef RETRO_BEGIN_DECLS struct content_ctx_info content_ctx_info_t
 

Functions

bool content_load_ram_file (unsigned slot)
 
bool content_save_ram_file (unsigned slot)
 
bool content_load_state (const char *path, bool load_to_backup_buffer, bool autoload)
 
bool content_save_state (const char *path, bool save_to_disk, bool autosave)
 
bool content_rename_state (const char *origin, const char *dest)
 
bool content_undo_load_state (void)
 
bool content_undo_save_state (void)
 
void content_get_status (bool *contentless, bool *is_inited)
 
void content_set_does_not_need_content (void)
 
void content_unset_does_not_need_content (void)
 
uint32_t content_get_crc (void)
 
void content_deinit (void)
 
bool content_init (void)
 
bool content_reset_savestate_backups (void)
 
bool content_undo_load_buf_is_empty (void)
 
bool content_undo_save_buf_is_empty (void)
 
bool content_is_subsystem_pending_load (void)
 
void content_clear_subsystem (void)
 
void content_set_subsystem (unsigned subsystem)
 
int content_get_subsystem (void)
 
void content_add_subsystem (const char *path)
 
unsigned content_get_subsystem_rom_id (void)
 
void content_set_subsystem_info (void)
 
char * content_get_subsystem_rom (unsigned index)
 

Typedef Documentation

◆ content_ctx_info_t

Function Documentation

◆ content_add_subsystem()

void content_add_subsystem ( const char *  path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_clear_subsystem()

void content_clear_subsystem ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_deinit()

void content_deinit ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_get_crc()

uint32_t content_get_crc ( void  )
Here is the caller graph for this function:

◆ content_get_status()

void content_get_status ( bool contentless,
bool is_inited 
)
Here is the caller graph for this function:

◆ content_get_subsystem()

int content_get_subsystem ( void  )
Here is the caller graph for this function:

◆ content_get_subsystem_rom()

char* content_get_subsystem_rom ( unsigned  index)
Here is the caller graph for this function:

◆ content_get_subsystem_rom_id()

unsigned content_get_subsystem_rom_id ( void  )
Here is the caller graph for this function:

◆ content_init()

bool content_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_is_subsystem_pending_load()

bool content_is_subsystem_pending_load ( void  )

◆ content_load_ram_file()

bool content_load_ram_file ( unsigned  slot)

content_load_ram_file: : path of RAM state that will be loaded from. : type of memory

Load a RAM state from disk to memory.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_load_state()

bool content_load_state ( const char *  path,
bool  load_to_backup_buffer,
bool  autoload 
)

content_load_state: : path that state will be loaded from. : If true, the state will be loaded into undo_save_buf. Load a state from disk to memory.

Returns: true if successful, false otherwise.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_rename_state()

bool content_rename_state ( const char *  origin,
const char *  dest 
)
Here is the call graph for this function:

◆ content_reset_savestate_backups()

bool content_reset_savestate_backups ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_save_ram_file()

bool content_save_ram_file ( unsigned  slot)

content_save_ram_file: : path of RAM state that shall be written to. : type of memory

Save a RAM state from memory to disk.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_save_state()

bool content_save_state ( const char *  path,
bool  save_to_disk,
bool  autosave 
)

content_save_state: : path of saved state that shall be written to. : If false, saves the state onto undo_load_buf. Save a state from memory to disk.

Returns: true if successful, false otherwise.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_set_does_not_need_content()

void content_set_does_not_need_content ( void  )
Here is the caller graph for this function:

◆ content_set_subsystem()

void content_set_subsystem ( unsigned  subsystem)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_set_subsystem_info()

void content_set_subsystem_info ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_undo_load_buf_is_empty()

bool content_undo_load_buf_is_empty ( void  )
Here is the caller graph for this function:

◆ content_undo_load_state()

bool content_undo_load_state ( void  )

undo_load_state: Revert to the state before a state was loaded.

Returns: true if successful, false otherwise.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_undo_save_buf_is_empty()

bool content_undo_save_buf_is_empty ( void  )
Here is the caller graph for this function:

◆ content_undo_save_state()

bool content_undo_save_state ( void  )

undo_save_state: Reverts the last save operation

Returns: true if successful, false otherwise.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ content_unset_does_not_need_content()

void content_unset_does_not_need_content ( void  )
Here is the caller graph for this function: