RetroArch
Classes | Enumerations | Functions
var.h File Reference
#include <stdint.h>
#include "cheevos.h"
#include <retro_common_api.h>
Include dependency graph for var.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cheevos_var_t
 

Enumerations

enum  cheevos_var_size_t {
  CHEEVOS_VAR_SIZE_BIT_0 = 0, CHEEVOS_VAR_SIZE_BIT_1, CHEEVOS_VAR_SIZE_BIT_2, CHEEVOS_VAR_SIZE_BIT_3,
  CHEEVOS_VAR_SIZE_BIT_4, CHEEVOS_VAR_SIZE_BIT_5, CHEEVOS_VAR_SIZE_BIT_6, CHEEVOS_VAR_SIZE_BIT_7,
  CHEEVOS_VAR_SIZE_NIBBLE_LOWER, CHEEVOS_VAR_SIZE_NIBBLE_UPPER, CHEEVOS_VAR_SIZE_EIGHT_BITS, CHEEVOS_VAR_SIZE_SIXTEEN_BITS,
  CHEEVOS_VAR_SIZE_THIRTYTWO_BITS
}
 
enum  cheevos_var_type_t { CHEEVOS_VAR_TYPE_ADDRESS = 0, CHEEVOS_VAR_TYPE_VALUE_COMP, CHEEVOS_VAR_TYPE_DELTA_MEM, CHEEVOS_VAR_TYPE_DYNAMIC_VAR }
 

Functions

void cheevos_var_parse (cheevos_var_t *var, const char **memaddr)
 
void cheevos_var_patch_addr (cheevos_var_t *var, cheevos_console_t console)
 
uint8_tcheevos_var_get_memory (const cheevos_var_t *var)
 
unsigned cheevos_var_get_value (cheevos_var_t *var)
 

Enumeration Type Documentation

◆ cheevos_var_size_t

Enumerator
CHEEVOS_VAR_SIZE_BIT_0 
CHEEVOS_VAR_SIZE_BIT_1 
CHEEVOS_VAR_SIZE_BIT_2 
CHEEVOS_VAR_SIZE_BIT_3 
CHEEVOS_VAR_SIZE_BIT_4 
CHEEVOS_VAR_SIZE_BIT_5 
CHEEVOS_VAR_SIZE_BIT_6 
CHEEVOS_VAR_SIZE_BIT_7 
CHEEVOS_VAR_SIZE_NIBBLE_LOWER 
CHEEVOS_VAR_SIZE_NIBBLE_UPPER 
CHEEVOS_VAR_SIZE_EIGHT_BITS 
CHEEVOS_VAR_SIZE_SIXTEEN_BITS 
CHEEVOS_VAR_SIZE_THIRTYTWO_BITS 

◆ cheevos_var_type_t

Enumerator
CHEEVOS_VAR_TYPE_ADDRESS 
CHEEVOS_VAR_TYPE_VALUE_COMP 
CHEEVOS_VAR_TYPE_DELTA_MEM 
CHEEVOS_VAR_TYPE_DYNAMIC_VAR 

Function Documentation

◆ cheevos_var_get_memory()

uint8_t* cheevos_var_get_memory ( const cheevos_var_t var)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cheevos_var_get_value()

unsigned cheevos_var_get_value ( cheevos_var_t var)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cheevos_var_parse()

void cheevos_var_parse ( cheevos_var_t var,
const char **  memaddr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cheevos_var_patch_addr()

void cheevos_var_patch_addr ( cheevos_var_t var,
cheevos_console_t  console 
)
Here is the call graph for this function:
Here is the caller graph for this function: