Commit 486436c0 authored by bbbradsmith's avatar bbbradsmith
Browse files

reset needs a variable update for options

not sure if hires option works? at any rate it needs to be false by default
video_config options were unable to clear once set
parent 979991a5
......@@ -108,8 +108,8 @@ void retro_set_environment(retro_environment_t cb)
"High resolution",
"Needs restart",
{
{ "true", "enabled" },
{ "false", "disabled" },
{ "true", "enabled" },
{ NULL, NULL },
},
"yes"
......@@ -187,6 +187,7 @@ static void update_variables(void)
// Video
var.key = "hatari_video_hires";
var.value = NULL;
video_config = 0;
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
{
......@@ -297,6 +298,7 @@ void retro_shutdown_hatari(void)
}
void retro_reset(void){
update_variables();
Reset_Warm();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment