mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Updates
This commit is contained in:
parent
9d8dddfc3c
commit
5136ec2df0
@ -865,7 +865,9 @@ static int cheevos_parse_condition(cheevos_condition_t *condition, const char* m
|
||||
unsigned set = 0;
|
||||
cheevos_condset_t *condset = NULL;
|
||||
cheevos_condset_t *conds = NULL;
|
||||
const cheevos_condset_t* end;
|
||||
const cheevos_condset_t* end = NULL;
|
||||
|
||||
(void)conds;
|
||||
|
||||
condition->condsets = (cheevos_condset_t*)
|
||||
calloc(condition->count, sizeof(cheevos_condset_t));
|
||||
|
@ -226,7 +226,7 @@ void cheevos_var_patch_addr(cheevos_var_t* var, cheevos_console_t console)
|
||||
unsigned addr = var->value;
|
||||
var->bank_id = (int)(desc - system->mmaps.descriptors);
|
||||
var->value = (unsigned)cheevos_var_reduce(
|
||||
(var->value - desc->core.start) & desc->disconnect_mask,
|
||||
(addr - desc->core.start) & desc->disconnect_mask,
|
||||
desc->core.disconnect);
|
||||
|
||||
if (var->value >= desc->core.len)
|
||||
|
@ -282,6 +282,10 @@ static char* mb_to_mb_string_alloc(const char *str, enum CodePage cp_in, enum Co
|
||||
|
||||
if (!str || !*str)
|
||||
return NULL;
|
||||
|
||||
(void)path_buf;
|
||||
(void)path_buf_len;
|
||||
(void)path_buf_wide_len;
|
||||
|
||||
#if !defined(_WIN32) || defined(_XBOX)
|
||||
/* assume string needs no modification if not on Windows */
|
||||
|
@ -398,7 +398,7 @@ void lzma_allocator_free(void* p )
|
||||
void *lzma_fast_alloc(void *p, size_t size)
|
||||
{
|
||||
int scan;
|
||||
uint32_t *addr;
|
||||
uint32_t *addr = NULL;
|
||||
lzma_allocator *codec = (lzma_allocator *)(p);
|
||||
|
||||
/* compute the size, rounding to the nearest 1k */
|
||||
|
@ -4027,10 +4027,7 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action
|
||||
first = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
selection = 0;
|
||||
xmb->selection_ptr_old = 0;
|
||||
}
|
||||
|
||||
list_size = xmb_list_get_size(xmb, MENU_LIST_HORIZONTAL)
|
||||
+ xmb->system_tab_end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user