overclocking option

light
This commit is contained in:
retrotalker 2018-08-15 12:15:24 -05:00 committed by GitHub
parent e3216ec88e
commit a05450d658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -168,7 +168,7 @@ void retro_set_environment(retro_environment_t cb)
// Adding more variables and rearranging them is safe.
{ "snes9x_up_down_allowed", "Allow Opposing Directions; disabled|enabled" },
{ "snes9x_overclock_superfx", "SuperFX Overclocking; 100%|150%|200%|250%|300%|350%|400%|450%|500%|50%" },
{ "snes9x_overclock_cycles", "Reduce Slowdown (Hack, Unsafe); disabled|compatible|max" },
{ "snes9x_overclock_cycles", "Reduce Slowdown (Hack, Unsafe); disabled|light|compatible|max" },
{ "snes9x_reduce_sprite_flicker", "Reduce Flickering (Hack, Unsafe); disabled|enabled" },
{ "snes9x_randomize_memory", "Randomize Memory (Unsafe); disabled|enabled" },
{ "snes9x_hires_blend", "Hires Blending; disabled|merge|blur" },
@ -352,6 +352,12 @@ static void update_variables(void)
Settings.OneSlowClockCycle = 5;
Settings.TwoClockCycles = 6;
}
else if (strcmp(var.value, "light") == 0)
{
Settings.OneClockCycle = 6;
Settings.OneSlowClockCycle = 6;
Settings.TwoClockCycles = 12;
}
}
Settings.MaxSpriteTilesPerLine = 34;