RetroArch
Enumerations | Functions
dirs.h File Reference
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for dirs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  rarch_dir_type {
  RARCH_DIR_NONE = 0, RARCH_DIR_SAVEFILE, RARCH_DIR_SAVESTATE, RARCH_DIR_CURRENT_SAVEFILE,
  RARCH_DIR_CURRENT_SAVESTATE, RARCH_DIR_SYSTEM
}
 

Functions

bool dir_init_shader (void)
 
bool dir_free_shader (void)
 
void dir_check_shader (bool pressed_next, bool pressed_prev)
 
bool dir_is_empty (enum rarch_dir_type type)
 
void dir_clear (enum rarch_dir_type type)
 
void dir_clear_all (void)
 
size_t dir_get_size (enum rarch_dir_type type)
 
char * dir_get_ptr (enum rarch_dir_type type)
 
const char * dir_get (enum rarch_dir_type type)
 
void dir_set (enum rarch_dir_type type, const char *path)
 
void dir_check_defaults (void)
 

Enumeration Type Documentation

◆ rarch_dir_type

Enumerator
RARCH_DIR_NONE 
RARCH_DIR_SAVEFILE 
RARCH_DIR_SAVESTATE 
RARCH_DIR_CURRENT_SAVEFILE 
RARCH_DIR_CURRENT_SAVESTATE 
RARCH_DIR_SYSTEM 

Function Documentation

◆ dir_check_defaults()

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

◆ dir_check_shader()

void dir_check_shader ( bool  pressed_next,
bool  pressed_prev 
)

dir_check_shader: : was next shader key pressed? : was previous shader key pressed?

Checks if any one of the shader keys has been pressed for this frame: a) Next shader index. b) Previous shader index.

Will also immediately apply the shader.

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

◆ dir_clear()

void dir_clear ( enum rarch_dir_type  type)
Here is the caller graph for this function:

◆ dir_clear_all()

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

◆ dir_free_shader()

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

◆ dir_get()

const char* dir_get ( enum rarch_dir_type  type)
Here is the caller graph for this function:

◆ dir_get_ptr()

char* dir_get_ptr ( enum rarch_dir_type  type)
Here is the caller graph for this function:

◆ dir_get_size()

size_t dir_get_size ( enum rarch_dir_type  type)
Here is the caller graph for this function:

◆ dir_init_shader()

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

◆ dir_is_empty()

bool dir_is_empty ( enum rarch_dir_type  type)
Here is the call graph for this function:

◆ dir_set()

void dir_set ( enum rarch_dir_type  type,
const char *  path 
)
Here is the caller graph for this function: