video: detect default video resolution and dvi mode from EDID.
This commit is contained in:
3
cfg.cpp
3
cfg.cpp
@@ -45,7 +45,7 @@ static const ini_var_t ini_vars[] =
|
||||
{ "VIDEO_INFO", (void*)(&(cfg.video_info)), UINT8, 0, 10 },
|
||||
{ "VSYNC_ADJUST", (void*)(&(cfg.vsync_adjust)), UINT8, 0, 2 },
|
||||
{ "HDMI_AUDIO_96K", (void*)(&(cfg.hdmi_audio_96k)), UINT8, 0, 1 },
|
||||
{ "DVI_MODE", (void*)(&(cfg.dvi)), UINT8, 0, 1 },
|
||||
{ "DVI_MODE", (void*)(&(cfg.dvi_mode)), UINT8, 0, 1 },
|
||||
{ "HDMI_LIMITED", (void*)(&(cfg.hdmi_limited)), UINT8, 0, 2 },
|
||||
{ "KBD_NOMOUSE", (void*)(&(cfg.kbd_nomouse)), UINT8, 0, 1 },
|
||||
{ "MOUSE_THROTTLE", (void*)(&(cfg.mouse_throttle)), UINT8, 1, 100 },
|
||||
@@ -375,6 +375,7 @@ void cfg_parse()
|
||||
cfg.logo = 1;
|
||||
cfg.rumble = 1;
|
||||
cfg.wheel_force = 50;
|
||||
cfg.dvi_mode = 2;
|
||||
has_video_sections = false;
|
||||
using_video_section = false;
|
||||
ini_parse(altcfg(), video_get_core_mode_name(1));
|
||||
|
||||
Reference in New Issue
Block a user