This commit is contained in:
twinaphex 2019-07-14 18:52:51 +02:00
parent 9cc055bf93
commit d80b85b158
2 changed files with 14 additions and 15 deletions

View File

@ -15357,7 +15357,7 @@ bool video_context_driver_get_refresh_rate(float *refresh_rate)
if (refresh_rate)
refresh_holder =
current_video_context.get_refresh_rate(video_context_data);
if (refresh_holder != video_driver_core_hz) /* Fix for incorrect interlace detsction -- HARD SET VSNC TO REQUIRED REFRESH FOR CRT*/
if (refresh_holder != video_driver_core_hz) /* Fix for incorrect interlacing detection -- HARD SET VSNC TO REQUIRED REFRESH FOR CRT*/
*refresh_rate = video_driver_core_hz;
}

View File

@ -1363,19 +1363,15 @@ static void task_push_to_history_list(
break;
default:
{
#ifdef HAVE_MENU
menu_handle_t *menu = NULL;
#endif
core_info_t *core_info = NULL;
/* Set core path */
core_path = path_get(RARCH_PATH_CORE);
/* Set core display name
* (As far as I can tell, core_info_get_current_core()
* should always provide a valid pointer here...) */
core_info_get_current_core(&core_info);
/* Set core path */
core_path = path_get(RARCH_PATH_CORE);
if (core_info)
core_name = core_info->display_name;
@ -1383,15 +1379,18 @@ static void task_push_to_history_list(
core_name = info->library_name;
#ifdef HAVE_MENU
/* Set database name + checksum */
if (menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu))
{
playlist_t *playlist_curr = playlist_get_cached();
if (playlist_index_is_valid(playlist_curr, menu->rpl_entry_selection_ptr, tmp, core_path))
menu_handle_t *menu = NULL;
/* Set database name + checksum */
if (menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu))
{
playlist_get_crc32(playlist_curr, menu->rpl_entry_selection_ptr, &crc32);
playlist_get_db_name(playlist_curr, menu->rpl_entry_selection_ptr, &db_name);
playlist_t *playlist_curr = playlist_get_cached();
if (playlist_index_is_valid(playlist_curr, menu->rpl_entry_selection_ptr, tmp, core_path))
{
playlist_get_crc32(playlist_curr, menu->rpl_entry_selection_ptr, &crc32);
playlist_get_db_name(playlist_curr, menu->rpl_entry_selection_ptr, &db_name);
}
}
}
#endif