fix
This commit is contained in:
parent
10c6ef6f1a
commit
6dbfbb0846
2
driver.c
2
driver.c
|
@ -289,6 +289,7 @@ void driver_set_nonblock_state(void)
|
||||||
static bool driver_update_system_av_info(const struct retro_system_av_info *info)
|
static bool driver_update_system_av_info(const struct retro_system_av_info *info)
|
||||||
{
|
{
|
||||||
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
struct retro_system_av_info *av_info = video_viewport_get_system_av_info();
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
memcpy(av_info, info, sizeof(*av_info));
|
memcpy(av_info, info, sizeof(*av_info));
|
||||||
command_event(CMD_EVENT_REINIT, NULL);
|
command_event(CMD_EVENT_REINIT, NULL);
|
||||||
|
@ -306,7 +307,6 @@ static bool driver_update_system_av_info(const struct retro_system_av_info *info
|
||||||
|
|
||||||
/* Hide mouse cursor in fullscreen after
|
/* Hide mouse cursor in fullscreen after
|
||||||
* a RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO call. */
|
* a RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO call. */
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
if (settings->bools.video_fullscreen)
|
if (settings->bools.video_fullscreen)
|
||||||
video_driver_hide_mouse();
|
video_driver_hide_mouse();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue