mirror of
https://github.com/MiSTer-devel/Main_MiSTer.git
synced 2026-05-31 03:04:12 +00:00
Add hdmi_off ini option.
This commit is contained in:
4
menu.cpp
4
menu.cpp
@@ -1238,8 +1238,7 @@ void HandleUI(void)
|
||||
{
|
||||
off_timeout = 0;
|
||||
video_menu_bg(user_io_status_get("[3:1]"), cfg.video_off_logo ? 4 : 3);
|
||||
if (cfg.video_off_hdmi) video_hdmi_power(0);
|
||||
else if (cfg.video_off_logo) off_timeout = GetTimer(10000);
|
||||
if (cfg.video_off_logo) off_timeout = GetTimer(10000);
|
||||
}
|
||||
|
||||
if (c || menustate != MENU_FILE_SELECT2)
|
||||
@@ -1249,7 +1248,6 @@ void HandleUI(void)
|
||||
{
|
||||
c = 0;
|
||||
menu_visible = 1;
|
||||
if (cfg.video_off_hdmi) video_hdmi_power(1);
|
||||
video_menu_bg(user_io_status_get("[3:1]"));
|
||||
OsdMenuCtl(1);
|
||||
off_timeout = 0;
|
||||
|
||||
Reference in New Issue
Block a user