RetroArch
Functions
fixup.c File Reference
#include "fixup.h"
#include "cheevos.h"
#include "util.h"
#include "../retroarch.h"
#include "../core.h"
#include <rcheevos.h>
Include dependency graph for fixup.c:

Functions

static int cheevos_cmpaddr (const void *e1, const void *e2)
 
static size_t cheevos_var_reduce (size_t addr, size_t mask)
 
static size_t cheevos_var_highest_bit (size_t n)
 
void cheevos_fixup_init (cheevos_fixups_t *fixups)
 
void cheevos_fixup_destroy (cheevos_fixups_t *fixups)
 
const uint8_tcheevos_fixup_find (cheevos_fixups_t *fixups, unsigned address, int console)
 
const uint8_tcheevos_patch_address (unsigned address, int console)
 

Function Documentation

◆ cheevos_cmpaddr()

static int cheevos_cmpaddr ( const void e1,
const void e2 
)
static
Here is the caller graph for this function:

◆ cheevos_fixup_destroy()

void cheevos_fixup_destroy ( cheevos_fixups_t fixups)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cheevos_fixup_find()

const uint8_t* cheevos_fixup_find ( cheevos_fixups_t fixups,
unsigned  address,
int  console 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cheevos_fixup_init()

void cheevos_fixup_init ( cheevos_fixups_t fixups)
Here is the caller graph for this function:

◆ cheevos_patch_address()

const uint8_t* cheevos_patch_address ( unsigned  address,
int  console 
)

HACK Subtract the correct amount of bytes to reach the save RAM as it's size is not always set correctly in the core.

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

◆ cheevos_var_highest_bit()

static size_t cheevos_var_highest_bit ( size_t  n)
static
Here is the caller graph for this function:

◆ cheevos_var_reduce()

static size_t cheevos_var_reduce ( size_t  addr,
size_t  mask 
)
static
Here is the caller graph for this function: