Commit 69be471c authored by Cayce's avatar Cayce
Browse files

add fmsx_simbdos=No|Yes option to enable fMSX to take over DiskROM disk access...

add fmsx_simbdos=No|Yes option to enable fMSX to take over DiskROM disk access routines. Conform -simbdos/-wd1793 fMSX cmdline option.
parent 01731fc6
......@@ -409,6 +409,7 @@ void retro_set_environment(retro_environment_t cb)
{ "fmsx_mapper_type_mode", "MSX Mapper Type Mode; Guess Mapper Type A|Guess Mapper Type B" },
{ "fmsx_ram_pages", "MSX Main Memory; Auto|64KB|128KB|256KB|512KB" },
{ "fmsx_vram_pages", "MSX Video Memory; Auto|32KB|64KB|128KB|192KB" },
{ "fmsx_simbdos", "Simulate DiskROM disk access calls; No|Yes" },
{ NULL, NULL },
};
......@@ -550,6 +551,12 @@ static void check_variables(void)
Mode |= MSX_GUESSA;
}
var.key = "fmsx_simbdos";
var.value = NULL;
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value && strcmp(var.value, "Yes") == 0)
Mode |= MSX_PATCHBDOS;
var.key = "fmsx_ram_pages";
var.value = NULL;
......
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