RetroArch
Classes | Functions | Variables
dirs.c File Reference
#include <retro_miscellaneous.h>
#include <compat/strl.h>
#include <file/file_path.h>
#include <lists/dir_list.h>
#include <lists/string_list.h>
#include <string/stdstring.h>
#include <streams/file_stream.h>
#include <retro_assert.h>
#include "dirs.h"
#include "command.h"
#include "configuration.h"
#include "defaults.h"
#include "list_special.h"
#include "file_path_special.h"
#include "msg_hash.h"
#include "paths.h"
#include "content.h"
#include "retroarch.h"
#include "verbosity.h"
Include dependency graph for dirs.c:

Classes

struct  rarch_dir_list
 

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)
 
size_t dir_get_size (enum rarch_dir_type type)
 
void dir_clear (enum rarch_dir_type type)
 
void dir_clear_all (void)
 
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)
 
static void check_defaults_dir_create_dir (const char *path)
 
void dir_check_defaults (void)
 

Variables

static struct rarch_dir_list dir_shader_list
 
static char dir_system [PATH_MAX_LENGTH] = {0}
 
static char dir_savefile [PATH_MAX_LENGTH] = {0}
 
static char current_savefile_dir [PATH_MAX_LENGTH] = {0}
 
static char current_savestate_dir [PATH_MAX_LENGTH] = {0}
 
static char dir_savestate [PATH_MAX_LENGTH] = {0}
 

Function Documentation

◆ check_defaults_dir_create_dir()

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

◆ 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:

Variable Documentation

◆ current_savefile_dir

char current_savefile_dir[PATH_MAX_LENGTH] = {0}
static

◆ current_savestate_dir

char current_savestate_dir[PATH_MAX_LENGTH] = {0}
static

◆ dir_savefile

char dir_savefile[PATH_MAX_LENGTH] = {0}
static

◆ dir_savestate

char dir_savestate[PATH_MAX_LENGTH] = {0}
static

◆ dir_shader_list

struct rarch_dir_list dir_shader_list
static

◆ dir_system

char dir_system[PATH_MAX_LENGTH] = {0}
static