mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
Merge branch 'master' of https://github.com/libretro/RetroArch
This commit is contained in:
commit
69e3ba9858
@ -258,7 +258,7 @@ static void *coreaudio_init(const char *device,
|
||||
goto error;
|
||||
|
||||
/* Check returned audio format. */
|
||||
i_size = sizeof(real_desc);;
|
||||
i_size = sizeof(real_desc);
|
||||
if (AudioUnitGetProperty(dev->dev, kAudioUnitProperty_StreamFormat,
|
||||
kAudioUnitScope_Input, 0, &real_desc, &i_size) != noErr)
|
||||
goto error;
|
||||
|
2
deps/7zip/7zDec.c
vendored
2
deps/7zip/7zDec.c
vendored
@ -58,7 +58,7 @@ static uint8_t Readuint8_t(void *pp)
|
||||
p->cur = p->begin;
|
||||
p->end = p->begin + size;
|
||||
if (size != 0)
|
||||
return *p->cur++;;
|
||||
return *p->cur++;
|
||||
}
|
||||
p->extra = True;
|
||||
return 0;
|
||||
|
@ -849,9 +849,7 @@ static int deferred_push_rdb_entry_detail(void *data, void *userdata,
|
||||
database_info_list_t *db_info = NULL;
|
||||
file_list_t *list = (file_list_t*)data;
|
||||
file_list_t *menu_list = (file_list_t*)userdata;
|
||||
struct string_list *str_list = NULL;
|
||||
|
||||
str_list = string_split(label, "|");
|
||||
struct string_list *str_list = string_split(label, "|");
|
||||
|
||||
if (!str_list)
|
||||
return -1;
|
||||
@ -1050,16 +1048,16 @@ static int deferred_push_rdb_entry_detail(void *data, void *userdata,
|
||||
{
|
||||
char elem0[PATH_MAX_LENGTH], elem1[PATH_MAX_LENGTH];
|
||||
bool match_found = false;
|
||||
str_list = string_split(
|
||||
struct string_list *tmp_str_list = string_split(
|
||||
playlist->entries[j].core_name, "|");
|
||||
|
||||
if (!str_list)
|
||||
continue;;
|
||||
if (!tmp_str_list)
|
||||
continue;
|
||||
|
||||
if (str_list && str_list->size > 0)
|
||||
strlcpy(elem0, str_list->elems[0].data, sizeof(elem0));
|
||||
if (str_list && str_list->size > 1)
|
||||
strlcpy(elem1, str_list->elems[1].data, sizeof(elem1));
|
||||
if (tmp_str_list->size > 0)
|
||||
strlcpy(elem0, tmp_str_list->elems[0].data, sizeof(elem0));
|
||||
if (tmp_str_list->size > 1)
|
||||
strlcpy(elem1, tmp_str_list->elems[1].data, sizeof(elem1));
|
||||
|
||||
if (!strcmp(elem1, "crc"))
|
||||
{
|
||||
@ -1077,7 +1075,7 @@ static int deferred_push_rdb_entry_detail(void *data, void *userdata,
|
||||
match_found = true;
|
||||
}
|
||||
|
||||
string_list_free(str_list);
|
||||
string_list_free(tmp_str_list);
|
||||
|
||||
if (!match_found)
|
||||
continue;
|
||||
@ -1166,13 +1164,6 @@ static int action_ok_core_load(const char *path,
|
||||
static int action_ok_core_download(const char *path,
|
||||
const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
const char *menu_path = NULL;
|
||||
if (!driver.menu)
|
||||
return -1;
|
||||
|
||||
menu_list_get_last_stack(driver.menu->menu_list,
|
||||
&menu_path, NULL, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1259,7 +1259,7 @@ static void update_state_validation(void)
|
||||
gcm_emit_at(gcm_context->current, 7, (((platformTexture->gcmTexture.height) | ((platformTexture->gcmTexture.width) << 16))));
|
||||
gcm_emit_at(gcm_context->current, 8, ((platformTexture->gcmMethods.borderColor)));
|
||||
gcm_emit_at(gcm_context->current, 9, ((((1) << (18)) | ((CELL_GCM_NV4097_SET_TEXTURE_CONTROL3) + (unit) * 0x04))));
|
||||
gcm_emit_at(gcm_context->current, 10, (((platformTexture->gcmTexture.pitch) | ((platformTexture->gcmTexture.depth) << 20))));;
|
||||
gcm_emit_at(gcm_context->current, 10, (((platformTexture->gcmTexture.pitch) | ((platformTexture->gcmTexture.depth) << 20))));
|
||||
gcm_finish_n_commands(gcm_context->current, 11);
|
||||
}
|
||||
else
|
||||
|
@ -747,7 +747,7 @@ static void check_block_hotkey(bool enable_hotkey)
|
||||
bind->joyaxis != AXIS_NONE ||
|
||||
autoconf_bind->key != RETROK_UNKNOWN ||
|
||||
autoconf_bind->joykey != NO_BTN ||
|
||||
autoconf_bind->joyaxis != AXIS_NONE;;
|
||||
autoconf_bind->joyaxis != AXIS_NONE;
|
||||
|
||||
driver.block_hotkey = driver.block_input ||
|
||||
(use_hotkey_enable && !enable_hotkey);
|
||||
|
@ -3636,7 +3636,7 @@ static bool setting_data_append_list_general_options(
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
general_read_handler);;
|
||||
general_read_handler);
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
CONFIG_UINT(
|
||||
|
Loading…
x
Reference in New Issue
Block a user