Unverified Commit 98ea26f6 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #66 from cayce-msx/fmsx_simbdos

add fmsx_simbdos=No|Yes option
parents 7c5cdd10 69be471c
Pipeline #66965 failed with stages
in 8 minutes and 9 seconds
......@@ -423,6 +423,7 @@ void retro_set_environment(retro_environment_t cb)
},
{ "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 },
};
......@@ -582,6 +583,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