HDMI Audio 48khz option.
This commit is contained in:
11
MiSTer.ini
11
MiSTer.ini
@@ -1,6 +1,7 @@
|
||||
[MiSTer]
|
||||
key_menu_as_rgui=0 ; set to 1 to make the MENU key map to RGUI in Minimig (e.g. for Right Amiga)
|
||||
forced_scandoubler=0 ; set to 1 to run scandoubler on VGA output always (depends on core).
|
||||
ypbpr=0 ; set to 1 for YPbPr on VGA output.
|
||||
composite_sync=0 ; set to 1 for composite sync on HSync signal of VGA output.
|
||||
vga_scaler=1 ; set to 1 to connect VGA to scaler output.
|
||||
key_menu_as_rgui=0 ; set to 1 to make the MENU key map to RGUI in Minimig (e.g. for Right Amiga)
|
||||
forced_scandoubler=0 ; set to 1 to run scandoubler on VGA output always (depends on core).
|
||||
ypbpr=0 ; set to 1 for YPbPr on VGA output.
|
||||
composite_sync=0 ; set to 1 for composite sync on HSync signal of VGA output.
|
||||
vga_scaler=0 ; set to 1 to connect VGA to scaler output.
|
||||
audio_48k=0 ; set to 1 for 48khz/16bit HDMI audio (96khz/16bit otherwise)
|
||||
|
||||
@@ -32,6 +32,7 @@ const ini_var_t mist_ini_vars[] = {
|
||||
{ "KEY_MENU_AS_RGUI", (void*)(&(mist_cfg.key_menu_as_rgui)), UINT8, 0, 1, 1 },
|
||||
{ "KEY_REMAP", (void*)user_io_key_remap, CUSTOM_HANDLER, 0, 0, 1 },
|
||||
{ "VIDEO_MODE", (void*)(&(mist_cfg.video_mode)), UINT8, 0, 9, 1 },
|
||||
{ "AUDIO_48K", (void*)(&(mist_cfg.audio_48k)), UINT8, 0, 1, 1 },
|
||||
};
|
||||
|
||||
// mist ini config
|
||||
|
||||
@@ -21,6 +21,7 @@ typedef struct {
|
||||
uint8_t csync;
|
||||
uint8_t vga_scaler;
|
||||
uint8_t video_mode;
|
||||
uint8_t audio_48k;
|
||||
} mist_cfg_t;
|
||||
|
||||
|
||||
|
||||
@@ -761,6 +761,7 @@ void user_io_send_buttons(char force)
|
||||
if (mist_cfg.csync) map |= CONF_CSYNC;
|
||||
if (mist_cfg.ypbpr) map |= CONF_YPBPR;
|
||||
if (mist_cfg.forced_scandoubler) map |= CONF_FORCED_SCANDOUBLER;
|
||||
if (mist_cfg.audio_48k) map |= CONF_AUDIO_48K;
|
||||
|
||||
if ((map != key_map) || force)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user