Commit 8dc2ebe7 authored by Cayce's avatar Cayce
Browse files

Add option fmsx_allsprites, which shows all sprites, i.e., lifts a video chip...

Add option fmsx_allsprites, which shows all sprites, i.e., lifts a video chip hardware limitation, which is reproduced faithfully by default. Makes for just a tad nicer (though less nostalgic) playing experience in games like Zanac.
parent 7b0c70c2
......@@ -21,6 +21,7 @@ Specify these in your RetroArch core options:
fmsx_mapper_type_mode=Guess Mapper Type A*|Guess Mapper Type B|Generic 8kB|Generic 16kB|Konami5 8kB|Konami4 8kB|ASCII 8kB|ASCII 16kB|GameMaster2|FMPAC
fmsx_ram_pages=Auto*|64KB|128KB|256KB|512KB
fmsx_vram_pages=Auto*|32KB|64KB|128KB|192KB
fmsx_allsprites=No*|Yes
fmsx_simbdos=No*|Yes
A star (*) indicates this is the default setting.
......
......@@ -424,6 +424,7 @@ void retro_set_environment(retro_environment_t cb)
{ "fmsx_vram_pages", "MSX Video Memory; Auto|32KB|64KB|128KB|192KB" },
{ "fmsx_simbdos", "Simulate DiskROM disk access calls; No|Yes" },
{ "fmsx_autospace", "Use autofire on SPACE; No|Yes" },
{ "fmsx_allsprites", "Show all sprites; No|Yes" },
{ NULL, NULL },
};
......@@ -558,7 +559,7 @@ static void check_variables(void)
if (strcmp(var.value, "Guess Mapper Type A") == 0)
Mode |= MSX_GUESSA;
else if (strcmp(var.value, "Guess Mapper Type B") == 0)
Mode |= MSX_GUESSB; // I guess this never works
Mode |= MSX_GUESSB; // applies to cartridge B, which fmsx-libretro does not support
else if (strcmp(var.value, "Generic 8kB") == 0)
SETROMTYPE(0,MAP_GEN8);
else if (strcmp(var.value, "Generic 16kB") == 0)
......@@ -595,6 +596,12 @@ static void check_variables(void)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value && strcmp(var.value, "Yes") == 0)
Mode |= MSX_AUTOSPACE;
var.key = "fmsx_allsprites";
var.value = NULL;
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value && strcmp(var.value, "Yes") == 0)
Mode |= MSX_ALLSPRITE;
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